mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 00:13:35 +08:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user