mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:33:33 +08:00
Speed reset when switching flight modes (#21414)
* speed reset between flight modes * no whitespace
This commit is contained in:
@@ -204,6 +204,9 @@ Mission::on_activation()
|
||||
cmd.param1 = -1.0f;
|
||||
cmd.param3 = 0.0f;
|
||||
_navigator->publish_vehicle_cmd(&cmd);
|
||||
|
||||
// reset cruise speed
|
||||
_navigator->reset_cruising_speed();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user