diff --git a/src/modules/control_allocator/ControlAllocator.cpp b/src/modules/control_allocator/ControlAllocator.cpp index afbc2a572a..e40075a84f 100644 --- a/src/modules/control_allocator/ControlAllocator.cpp +++ b/src/modules/control_allocator/ControlAllocator.cpp @@ -61,6 +61,8 @@ ControlAllocator::ControlAllocator() : _actuator_servos_pub.advertise(); _actuator_servos_trim_pub.advertise(); + _tiltrotor_extra_controls_pub.advertise(); + for (int i = 0; i < MAX_NUM_MOTORS; ++i) { char buffer[17]; snprintf(buffer, sizeof(buffer), "CA_R%u_SLEW", i); @@ -505,7 +507,6 @@ void ControlAllocator::preflight_check_overwrite_torque_sp(matrix::Vector(_actuator_effectiveness) != nullptr; - PX4_INFO("tiltrotor = %d", (int) tiltrotor); if (tiltrotor) { max_phase = 4 * 2; @@ -543,12 +544,14 @@ void ControlAllocator::preflight_check_overwrite_torque_sp(matrix::Vector