mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 21:58:52 +08:00
Auto Traj - Disable reActivate "reset" function for AutoLineSmoothVel Flight Task
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user