mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-16 04:01:35 +08:00
control_allocator: generic motor configuration for standard vtols
This adds the pusher/puller to the standard motors and makes the axis configurable.
This commit is contained in:
+1
-5
@@ -80,7 +80,7 @@ public:
|
||||
uint32_t getStoppedMotors() const override { return _stopped_motors; }
|
||||
|
||||
private:
|
||||
ActuatorEffectivenessRotors _mc_rotors;
|
||||
ActuatorEffectivenessRotors _rotors;
|
||||
ActuatorEffectivenessControlSurfaces _control_surfaces;
|
||||
|
||||
uint32_t _mc_motors_mask{}; ///< mc motors (stopped during forward flight)
|
||||
@@ -90,8 +90,4 @@ private:
|
||||
|
||||
uORB::Subscription _actuator_controls_1_sub{ORB_ID(actuator_controls_0)};
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamInt<px4::params::CA_STDVTOL_N_P>) _param_ca_stdvtol_n_p ///< number of pushers
|
||||
)
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user