PositionControl: comment fix + unused parameter removal

This commit is contained in:
Dennis Mannhart
2018-02-22 08:42:16 +01:00
committed by Beat Küng
parent 421aeb69d8
commit 88cf2aebc6
2 changed files with 1 additions and 3 deletions
@@ -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};