mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 11:08:29 -04:00
AP_GPS: removed UBX3 message
replaced by GPA and GPA2 messages
This commit is contained in:
parent
c5cd310818
commit
d07d2f3a46
@ -309,20 +309,6 @@ void AP_GPS_UBLOX::log_mon_hw2(void)
|
||||
gps._DataFlash->WriteBlock(&pkt, sizeof(pkt));
|
||||
}
|
||||
|
||||
void AP_GPS_UBLOX::log_accuracy(void) {
|
||||
if (gps._DataFlash == NULL || !gps._DataFlash->logging_started()) {
|
||||
return;
|
||||
}
|
||||
struct log_Ubx3 pkt = {
|
||||
LOG_PACKET_HEADER_INIT(LOG_UBX3_MSG),
|
||||
time_us : hal.scheduler->micros64(),
|
||||
instance : state.instance,
|
||||
hAcc : state.horizontal_accuracy,
|
||||
vAcc : state.vertical_accuracy,
|
||||
sAcc : state.speed_accuracy
|
||||
};
|
||||
gps._DataFlash->WriteBlock(&pkt, sizeof(pkt));
|
||||
}
|
||||
#endif // UBLOX_HW_LOGGING
|
||||
|
||||
#if UBLOX_RXM_RAW_LOGGING
|
||||
@ -704,11 +690,6 @@ AP_GPS_UBLOX::_parse_gps(void)
|
||||
_send_message(CLASS_CFG, MSG_CFG_NAV_SETTINGS, NULL, 0);
|
||||
_fix_count = 0;
|
||||
}
|
||||
|
||||
#if UBLOX_HW_LOGGING
|
||||
log_accuracy();
|
||||
#endif //UBLOX_HW_LOGGING
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
@ -417,7 +417,6 @@ private:
|
||||
void write_logging_headers(void);
|
||||
void log_mon_hw(void);
|
||||
void log_mon_hw2(void);
|
||||
void log_accuracy(void);
|
||||
void log_rxm_raw(const struct ubx_rxm_raw &raw);
|
||||
void log_rxm_rawx(const struct ubx_rxm_rawx &raw);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user