mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
Changes ControlAllocator to always publish actuator controls and status
This commit is contained in:
@@ -398,6 +398,7 @@ ControlAllocator::Run()
|
|||||||
|
|
||||||
_control_allocation[i]->clipActuatorSetpoint();
|
_control_allocation[i]->clipActuatorSetpoint();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Publish actuator setpoint and allocator status
|
// Publish actuator setpoint and allocator status
|
||||||
publish_actuator_controls();
|
publish_actuator_controls();
|
||||||
@@ -408,7 +409,6 @@ ControlAllocator::Run()
|
|||||||
publish_control_allocator_status();
|
publish_control_allocator_status();
|
||||||
_last_status_pub = now;
|
_last_status_pub = now;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
perf_end(_loop_perf);
|
perf_end(_loop_perf);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user