parent
6b6df68fa7
commit
f3d40ece27
|
@ -59,6 +59,7 @@ extern int16_t debug[4];
|
||||||
int32_t GPS_coord[2]; // LAT/LON
|
int32_t GPS_coord[2]; // LAT/LON
|
||||||
|
|
||||||
uint8_t GPS_numSat;
|
uint8_t GPS_numSat;
|
||||||
|
uint16_t GPS_hdop = 9999; // Compute GPS quality signal
|
||||||
uint8_t GPS_update = 0; // it's a binary toggle to distinct a GPS position update
|
uint8_t GPS_update = 0; // it's a binary toggle to distinct a GPS position update
|
||||||
|
|
||||||
uint16_t GPS_altitude; // altitude in 0.1m
|
uint16_t GPS_altitude; // altitude in 0.1m
|
||||||
|
@ -752,7 +753,7 @@ static bool UBLOX_parse_gps(void)
|
||||||
if (!next_fix)
|
if (!next_fix)
|
||||||
DISABLE_STATE(GPS_FIX);
|
DISABLE_STATE(GPS_FIX);
|
||||||
GPS_numSat = _buffer.solution.satellites;
|
GPS_numSat = _buffer.solution.satellites;
|
||||||
// GPS_hdop = _buffer.solution.position_DOP;
|
GPS_hdop = _buffer.solution.position_DOP;
|
||||||
break;
|
break;
|
||||||
case MSG_VELNED:
|
case MSG_VELNED:
|
||||||
// speed_3d = _buffer.velned.speed_3d; // cm/s
|
// speed_3d = _buffer.velned.speed_3d; // cm/s
|
||||||
|
|
Loading…
Reference in New Issue