mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AntennaTracker: adjust for changed logging APIs
This commit is contained in:
parent
ac4da762d1
commit
71b121837a
@ -120,7 +120,6 @@ void Tracker::ten_hz_logging_loop()
|
||||
{
|
||||
if (should_log(MASK_LOG_IMU)) {
|
||||
DataFlash.Log_Write_IMU(ins);
|
||||
DataFlash.Log_Write_IMUDT(ins);
|
||||
}
|
||||
if (should_log(MASK_LOG_ATTITUDE)) {
|
||||
Log_Write_Attitude();
|
||||
|
@ -126,7 +126,7 @@ void Tracker::update_GPS(void)
|
||||
|
||||
// log GPS data
|
||||
if (should_log(MASK_LOG_GPS)) {
|
||||
DataFlash.Log_Write_GPS(gps, 0, current_loc.alt);
|
||||
DataFlash.Log_Write_GPS(gps, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ void Tracker::tracking_update_position(const mavlink_global_position_int_t &msg)
|
||||
|
||||
// log vehicle as GPS2
|
||||
if (should_log(MASK_LOG_GPS)) {
|
||||
DataFlash.Log_Write_GPS(gps, 1, vehicle.location.alt);
|
||||
DataFlash.Log_Write_GPS(gps, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user