mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FlightModeManager: correct acceleration setpoint feedback naming
The variable was never renamed correctly in this in between layer when we switched from normalized thrust to acceleration setpoints.
This commit is contained in:
parent
4d7b875ee2
commit
63db61a700
@ -489,8 +489,8 @@ void FlightModeManager::generateTrajectorySetpoint(const float dt,
|
||||
|
||||
if (_vehicle_local_position_setpoint_sub.copy(&vehicle_local_position_setpoint)) {
|
||||
const Vector3f vel_sp{vehicle_local_position_setpoint.vx, vehicle_local_position_setpoint.vy, vehicle_local_position_setpoint.vz};
|
||||
const Vector3f thrust_sp{vehicle_local_position_setpoint.acceleration};
|
||||
_current_task.task->updateVelocityControllerIO(vel_sp, thrust_sp);
|
||||
const Vector3f acc_sp{vehicle_local_position_setpoint.acceleration};
|
||||
_current_task.task->updateVelocityControllerIO(vel_sp, acc_sp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user