mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AntennaTracker: add support for mavlink in-progress message
This commit is contained in:
parent
11ec22900b
commit
2f15b79619
@ -402,9 +402,9 @@ uint8_t GCS_MAVLINK_Tracker::sysid_my_gcs() const
|
||||
return tracker.g.sysid_my_gcs;
|
||||
}
|
||||
|
||||
MAV_RESULT GCS_MAVLINK_Tracker::_handle_command_preflight_calibration_baro()
|
||||
MAV_RESULT GCS_MAVLINK_Tracker::_handle_command_preflight_calibration_baro(const mavlink_message_t &msg)
|
||||
{
|
||||
MAV_RESULT ret = GCS_MAVLINK::_handle_command_preflight_calibration_baro();
|
||||
MAV_RESULT ret = GCS_MAVLINK::_handle_command_preflight_calibration_baro(msg);
|
||||
if (ret == MAV_RESULT_ACCEPTED) {
|
||||
// zero the altitude difference on next baro update
|
||||
tracker.nav_status.need_altitude_calibration = true;
|
||||
|
@ -19,7 +19,7 @@ protected:
|
||||
uint8_t sysid_my_gcs() const override;
|
||||
|
||||
MAV_RESULT handle_command_component_arm_disarm(const mavlink_command_long_t &packet) override;
|
||||
MAV_RESULT _handle_command_preflight_calibration_baro() override;
|
||||
MAV_RESULT _handle_command_preflight_calibration_baro(const mavlink_message_t &msg) override;
|
||||
MAV_RESULT handle_command_long_packet(const mavlink_command_long_t &packet) override;
|
||||
|
||||
int32_t global_position_int_relative_alt() const override {
|
||||
|
Loading…
Reference in New Issue
Block a user