mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduCopter: add support for mavlink in-progress message
This commit is contained in:
parent
2f15b79619
commit
9e00b8eeac
@ -645,14 +645,14 @@ void GCS_MAVLINK_Copter::handle_landing_target(const mavlink_landing_target_t &p
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
MAV_RESULT GCS_MAVLINK_Copter::_handle_command_preflight_calibration(const mavlink_command_long_t &packet)
|
MAV_RESULT GCS_MAVLINK_Copter::_handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg)
|
||||||
{
|
{
|
||||||
if (is_equal(packet.param6,1.0f)) {
|
if (is_equal(packet.param6,1.0f)) {
|
||||||
// compassmot calibration
|
// compassmot calibration
|
||||||
return copter.mavlink_compassmot(*this);
|
return copter.mavlink_compassmot(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return GCS_MAVLINK::_handle_command_preflight_calibration(packet);
|
return GCS_MAVLINK::_handle_command_preflight_calibration(packet, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ protected:
|
|||||||
bool params_ready() const override;
|
bool params_ready() const override;
|
||||||
void send_banner() override;
|
void send_banner() override;
|
||||||
|
|
||||||
MAV_RESULT _handle_command_preflight_calibration(const mavlink_command_long_t &packet) override;
|
MAV_RESULT _handle_command_preflight_calibration(const mavlink_command_long_t &packet, const mavlink_message_t &msg) override;
|
||||||
|
|
||||||
void send_attitude_target() override;
|
void send_attitude_target() override;
|
||||||
void send_position_target_global_int() override;
|
void send_position_target_global_int() override;
|
||||||
|
Loading…
Reference in New Issue
Block a user