mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-15 21:05:40 +08:00
APM: report throttle and ground speed mission changes
This commit is contained in:
1 parent
b1408008c9
commit
589c8fcc12
1 file changed
+4
-1
@@ -550,12 +550,15 @@ static void do_change_speed()
|
||||
}
|
||||
break;
|
||||
case 1: // Ground speed
|
||||
gcs_send_text_fmt(PSTR("Set groundspeed %u"), (unsigned)next_nonnav_command.alt);
|
||||
g.min_gndspeed_cm.set(next_nonnav_command.alt * 100);
|
||||
break;
|
||||
}
|
||||
|
||||
if(next_nonnav_command.lat > 0)
|
||||
if (next_nonnav_command.lat > 0) {
|
||||
gcs_send_text_fmt(PSTR("Set throttle %u"), (unsigned)next_nonnav_command.lat);
|
||||
g.throttle_cruise.set(next_nonnav_command.lat);
|
||||
}
|
||||
}
|
||||
|
||||
static void do_set_home()
|
||||
|
||||
Reference in new issue
Block a user