FlightTaskOrbit: include acceleration and jerk in approach setpoint publishing

I think they were forgotten and it leads to side effects:
- The acceleration feed-forward does not get executed
- The acceleration setpoint is NAN when initializing the altitude
  smoothing when arriving at the circle
This commit is contained in:
Matthias Grob
2022-01-25 11:45:31 +01:00
parent b9fb8490ba
commit 38de07186d
@@ -293,6 +293,8 @@ void FlightTaskOrbit::_generate_circle_approach_setpoints()
_position_setpoint = out_setpoints.position;
_velocity_setpoint = out_setpoints.velocity;
_acceleration_setpoint = out_setpoints.acceleration;
_jerk_setpoint = out_setpoints.jerk;
}
void FlightTaskOrbit::_generate_circle_setpoints()