SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
Loading...
Searching...
No Matches
GPSData Struct Reference

GPS raw data. More...

#include <objects.h>

Public Attributes

boolean fix = false
 Fix value.
 
float lat
 Latitude (in degrees).
 
float lon
 Longitude (in degrees).
 
float speed
 Ground speed (in knots).
 

Detailed Description

GPS raw data.

The struct contains the raw data from the GPS:

  • Latitude and longitude are in degrees.
  • Speed is in knots.
See also
Constants

Member Data Documentation

◆ fix

boolean GPSData::fix = false

Fix value.

Fix is true when the GPS is connected and works.

◆ lat

float GPSData::lat

Latitude (in degrees).

◆ lon

float GPSData::lon

Longitude (in degrees).

◆ speed

float GPSData::speed

Ground speed (in knots).

See also
GPSSPEED_SCALE