mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 12:37:34 +08:00
feat: moving airframe to original allocator
This commit is contained in:
Submodule Tools/simulation/gazebo-classic/sitl_gazebo-classic updated: c0e0751341...fbd8e9e6bb
@@ -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 {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user