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:
Matthias Grob 2020-01-28 11:05:05 +01:00 committed by Kabir Mohammed
parent b75c1308f9
commit 69af6386b3
1 changed files with 0 additions and 4 deletions

View File

@ -626,10 +626,6 @@ MulticopterPositionControl::Run()
vehicle_local_position_setpoint_s local_pos_sp{};
local_pos_sp.timestamp = time_stamp_now;
_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
// This message will be used by other modules (such as Landdetector) to determine vehicle intention.