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:
Matthias Grob
2020-07-06 16:34:39 +02:00
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;
}