mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
fix(control_allocator): add ROVER_MECANUM actuator effectiveness type
This commit is contained in:
1 parent
761447e12e
commit
3eaede3197
2 files changed
+7
-2
No files matched your search
@@ -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