mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 07:57:34 +08:00
PositionControl: comment fix + unused parameter removal
This commit is contained in:
committed by
Beat Küng
parent
421aeb69d8
commit
88cf2aebc6
@@ -87,7 +87,7 @@ void PositionControl::updateSetpoint(struct vehicle_local_position_setpoint_s se
|
||||
_vel_sp = Data(&setpoint.vx);
|
||||
_acc_sp = Data(&setpoint.acc_x);
|
||||
_thr_sp = Data(setpoint.thrust);
|
||||
_yaw_sp = setpoint.yaw; //integrate
|
||||
_yaw_sp = setpoint.yaw;
|
||||
_yawspeed_sp = setpoint.yawspeed;
|
||||
_interfaceMapping();
|
||||
|
||||
|
||||
@@ -112,8 +112,6 @@ private:
|
||||
param_t _ThrHover_h{PARAM_INVALID};
|
||||
param_t _ThrMax_h{PARAM_INVALID};
|
||||
param_t _ThrMin_h{PARAM_INVALID};
|
||||
param_t _YawRateMax_h{PARAM_INVALID};
|
||||
param_t _Pyaw_h{PARAM_INVALID}; //only temporary: this will be moved into attitude controller
|
||||
|
||||
/* Parameters */
|
||||
matrix::Vector3f Pp, Pv, Iv, Dv = matrix::Vector3f{0.0f, 0.0f, 0.0f};
|
||||
|
||||
Reference in New Issue
Block a user