FlightModeManager: rename updateVelocityController{IO} to {Feedback}

This commit is contained in:
Matthias Grob
2021-03-11 00:40:27 +01:00
committed by Lorenz Meier
parent 02abb760a3
commit 54fe0ae98c
2 changed files with 3 additions and 3 deletions
@@ -467,7 +467,7 @@ 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 acc_sp{vehicle_local_position_setpoint.acceleration};
_current_task.task->updateVelocityControllerIO(vel_sp, acc_sp);
_current_task.task->updateVelocityControllerFeedback(vel_sp, acc_sp);
}
}
@@ -176,8 +176,8 @@ public:
*/
virtual void setYawHandler(WeatherVane *ext_yaw_handler) {}
void updateVelocityControllerIO(const matrix::Vector3f &vel_sp,
const matrix::Vector3f &acc_sp)
void updateVelocityControllerFeedback(const matrix::Vector3f &vel_sp,
const matrix::Vector3f &acc_sp)
{
_velocity_setpoint_feedback = vel_sp;
_acceleration_setpoint_feedback = acc_sp;