mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 07:10:35 +08:00
Spacecraft build and bare control allocator (#24221)
This commit is contained in:
@@ -270,6 +270,14 @@ ControlAllocator::update_effectiveness_source()
|
||||
tmp = new ActuatorEffectivenessHelicopterCoaxial(this);
|
||||
break;
|
||||
|
||||
case EffectivenessSource::SPACECRAFT_2D:
|
||||
// spacecraft_allocation does allocation and publishes directly to actuator_motors topic
|
||||
break;
|
||||
|
||||
case EffectivenessSource::SPACECRAFT_3D:
|
||||
// spacecraft_allocation does allocation and publishes directly to actuator_motors topic
|
||||
break;
|
||||
|
||||
default:
|
||||
PX4_ERR("Unknown airframe");
|
||||
break;
|
||||
|
||||
@@ -158,6 +158,8 @@ private:
|
||||
HELICOPTER_TAIL_ESC = 10,
|
||||
HELICOPTER_TAIL_SERVO = 11,
|
||||
HELICOPTER_COAXIAL = 12,
|
||||
SPACECRAFT_2D = 13,
|
||||
SPACECRAFT_3D = 14,
|
||||
};
|
||||
|
||||
enum class FailureMode {
|
||||
|
||||
@@ -31,6 +31,8 @@ parameters:
|
||||
11: Helicopter (tail Servo)
|
||||
12: Helicopter (Coaxial)
|
||||
13: Rover (Mecanum)
|
||||
14: Spacecraft 2D
|
||||
15: Spacecraft 3D
|
||||
default: 0
|
||||
|
||||
CA_METHOD:
|
||||
|
||||
Reference in New Issue
Block a user