Speed reset when switching flight modes (#21414)

* speed reset between flight modes

* no whitespace
This commit is contained in:
Andrew Wilkins
2023-04-27 17:32:43 +02:00
committed by GitHub
parent bfc1e36f45
commit cdc717be53
5 changed files with 13 additions and 1 deletions
+3
View File
@@ -65,6 +65,9 @@ Land::on_activation()
_navigator->set_can_loiter_at_sp(false);
_navigator->set_position_setpoint_triplet_updated();
// reset cruising speed to default
_navigator->reset_cruising_speed();
}
void