Skip to content
Snippets Groups Projects
Commit 88cf2aeb authored by Dennis Mannhart's avatar Dennis Mannhart Committed by Beat Küng
Browse files

PositionControl: comment fix + unused parameter removal

parent 421aeb69
No related branches found
No related tags found
No related merge requests found
......@@ -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};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment