sensor_gps_fix_t

Updated: April 19, 2023

Status of the sensor's current GPS connection

Synopsis:

#include <sensor/sensor_gps_imu.h>
typedef enum {
    GPS_FIX_NONE,
    GPS_FIX_DEAD_RECKONING,
    GPS_FIX_2D,
    GPS_FIX_3D,
    GPS_FIX_GNSS_DR
} sensor_gps_fix_t;

Data:

GPS_FIX_NONE
GPS fix isn't available because the sensor isn't currently connected to a Global Navigation Satellite System (GNSS).
GPS_FIX_DEAD_RECKONING
GPS fix is calculated by using dead reckoning only.

The sensor isn't connected to a GNSS; therefore it calculates the GPS fix using data from the IMU.

GPS_FIX_2D
GPS fix with longitude and latitude only.

The sensor is connected to a GNSS; all GPS information is from a GPS satellite with no dead reckoning.

GPS_FIX_3D
GPS fix with longitude, latitude, and altitude.

The sensor is connected to a GNSS; all GPS information is from a GPS satellite with no dead reckoning.

GPS_FIX_GNSS_DR
GPS fix is calculated by using GNSS and dead reckoning.

The sensor is connected to a GNSS; it supplements this information using dead reckoning with data from the IMU.

Library:

libsensor