mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 07:50:35 +08:00
FlightTaskOrbit: reset reached when new parameters are set
such that they get applied to the straight line trajectory class and the drone starts approaching the new orbit.
This commit is contained in:
committed by
Julian Kent
parent
8e4509c0a9
commit
5823101f07
@@ -97,6 +97,7 @@ bool FlightTaskOrbit::applyCommandParameters(const vehicle_command_s &command)
|
||||
|
||||
// perpendicularly approach the orbit circle again when new parameters get commanded
|
||||
_in_circle_approach = true;
|
||||
_circle_approach_line.reset();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user