mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-10 06:39:25 +08:00
fix(control_allocator): add ROVER_MECANUM actuator effectiveness type
This commit is contained in:
committed by
Matthias Grob
parent
761447e12e
commit
3eaede3197
@@ -267,6 +267,10 @@ ControlAllocator::update_effectiveness_source()
|
||||
tmp = new ActuatorEffectivenessHelicopterCoaxial(this);
|
||||
break;
|
||||
|
||||
case EffectivenessSource::ROVER_MECANUM:
|
||||
// rover_mecanum_control does allocation and publishes directly to actuator_motors topic
|
||||
break;
|
||||
|
||||
case EffectivenessSource::SPACECRAFT_2D:
|
||||
tmp = new ActuatorEffectivenessSpacecraft(this);
|
||||
break;
|
||||
|
||||
@@ -170,8 +170,9 @@ private:
|
||||
HELICOPTER_TAIL_ESC = 10,
|
||||
HELICOPTER_TAIL_SERVO = 11,
|
||||
HELICOPTER_COAXIAL = 12,
|
||||
SPACECRAFT_2D = 13,
|
||||
SPACECRAFT_3D = 14,
|
||||
ROVER_MECANUM = 13,
|
||||
SPACECRAFT_2D = 14,
|
||||
SPACECRAFT_3D = 15,
|
||||
};
|
||||
|
||||
enum class FailureMode {
|
||||
|
||||
Reference in New Issue
Block a user