forked from Archive/PX4-Autopilot
mc_pos_control_main: remove obsolete input setpoint assignments
These assignments were temporary for correct logging of the input
setpoint which now properly also comes out of the controller again.
This is reverting the hotfix from:
dee8d200d8
This commit is contained in:
parent
b75c1308f9
commit
69af6386b3
|
@ -626,10 +626,6 @@ MulticopterPositionControl::Run()
|
||||||
vehicle_local_position_setpoint_s local_pos_sp{};
|
vehicle_local_position_setpoint_s local_pos_sp{};
|
||||||
local_pos_sp.timestamp = time_stamp_now;
|
local_pos_sp.timestamp = time_stamp_now;
|
||||||
_control.getLocalPositionSetpoint(local_pos_sp);
|
_control.getLocalPositionSetpoint(local_pos_sp);
|
||||||
// Temporary setpoint message adjustments while PositionControl class is still keeping involved internal setpoints
|
|
||||||
local_pos_sp.x = setpoint.x;
|
|
||||||
local_pos_sp.y = setpoint.y;
|
|
||||||
local_pos_sp.z = setpoint.z;
|
|
||||||
|
|
||||||
// Publish local position setpoint
|
// Publish local position setpoint
|
||||||
// This message will be used by other modules (such as Landdetector) to determine vehicle intention.
|
// This message will be used by other modules (such as Landdetector) to determine vehicle intention.
|
||||||
|
|
Loading…
Reference in New Issue