Auto Traj - Disable reActivate "reset" function for AutoLineSmoothVel Flight Task

This commit is contained in:
bresch
2018-11-06 22:17:00 +01:00
committed by Roman Bapst
parent 0209fa00bf
commit 2c63388fb7
5 changed files with 20 additions and 1 deletions
@@ -52,6 +52,14 @@ bool FlightTaskAutoLineSmoothVel::activate()
return ret;
}
void FlightTaskAutoLineSmoothVel::reActivate()
{
// Don't reset during takeoff TODO: Find a proper solution
// The issue here is that with a small increment of velocity setpoint (generated by this flight task), the
// land detector doesn't detect takeoff and without takeoff detection, the
// flight task is always reset.
}
void FlightTaskAutoLineSmoothVel::_setDefaultConstraints()
{
FlightTaskAuto::_setDefaultConstraints();