mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 02:33:58 -04:00
AC add ability to start new accel_scale via mavlink
This commit is contained in:
parent
e466333a79
commit
da3398d41d
@ -1095,6 +1095,10 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
|||||||
if (packet.param4 == 1) {
|
if (packet.param4 == 1) {
|
||||||
trim_radio();
|
trim_radio();
|
||||||
}
|
}
|
||||||
|
if (packet.param5 == 1) {
|
||||||
|
// this blocks
|
||||||
|
ins.calibrate_accel(mavlink_delay, flash_leds, gcs_send_text_fmt, setup_wait_key);
|
||||||
|
}
|
||||||
result = MAV_RESULT_ACCEPTED;
|
result = MAV_RESULT_ACCEPTED;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user