mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 18:10:35 +08:00
mc_pos_control: remove unused method
This commit is contained in:
committed by
Lorenz Meier
parent
75fb1b28b9
commit
9ff4d13c2c
@@ -79,16 +79,6 @@ void PositionControl::updateState(const vehicle_local_position_s &state, const V
|
||||
_vel_dot = vel_dot;
|
||||
}
|
||||
|
||||
void PositionControl::setIdle()
|
||||
{
|
||||
_pos_sp = _pos;
|
||||
_vel_sp.zero();
|
||||
_acc_sp.zero();
|
||||
_thr_sp.zero();
|
||||
_yaw_sp = _yaw_sp_int = _yaw;
|
||||
_yawspeed_sp = 0.0f;
|
||||
}
|
||||
|
||||
void PositionControl::updateSetpoint(const vehicle_local_position_setpoint_s &setpoint)
|
||||
{
|
||||
_pos_sp = Vector3f(&setpoint.x);
|
||||
|
||||
Reference in New Issue
Block a user