Browse Source

Changes ControlAllocator to always publish actuator controls and status

master
Charles Cross 3 years ago committed by Beat Küng
parent
commit
51c055832f
  1. 2
      src/modules/control_allocator/ControlAllocator.cpp

2
src/modules/control_allocator/ControlAllocator.cpp

@ -398,6 +398,7 @@ ControlAllocator::Run() @@ -398,6 +398,7 @@ ControlAllocator::Run()
_control_allocation[i]->clipActuatorSetpoint();
}
}
// Publish actuator setpoint and allocator status
publish_actuator_controls();
@ -408,7 +409,6 @@ ControlAllocator::Run() @@ -408,7 +409,6 @@ ControlAllocator::Run()
publish_control_allocator_status();
_last_status_pub = now;
}
}
perf_end(_loop_perf);
}

Loading…
Cancel
Save