mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 15:17:36 +08:00
70e46a194f
- allow effectiveness matrix to select control allocator method (desaturation algorithm) - add actuator_servos publication - add support for multiple matrices (for vtol) - add updateSetpoint callback method to actuator effectiveness to allow it to manipulate the actuator setpoint after allocation - handle motor stopping & reversal - add control surfaces & tilt servos - handle standard vtol + tiltrotor - rename MC rotors params & class to be more generically usable - fixes and enables ActuatorEffectivenessRotorsTest
40 lines
917 B
Bash
40 lines
917 B
Bash
#!/bin/sh
|
|
#
|
|
# @name S500 with control allocation
|
|
#
|
|
# @type Quadrotor x
|
|
# @class Copter
|
|
#
|
|
# @maintainer Silvan Fuhrer
|
|
#
|
|
# @board px4_fmu-v2 exclude
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
set MIXER skip
|
|
set MIXER_AUX none
|
|
|
|
param set-default SYS_CTRL_ALLOC 1
|
|
|
|
param set-default CA_AIRFRAME 0
|
|
|
|
param set-default CA_ROTOR_COUNT 4
|
|
param set-default CA_ROTOR0_PX 0.177
|
|
param set-default CA_ROTOR0_PY 0.177
|
|
param set-default CA_ROTOR0_KM 0.05
|
|
param set-default CA_ROTOR1_PX -0.177
|
|
param set-default CA_ROTOR1_PY -0.177
|
|
param set-default CA_ROTOR1_KM 0.05
|
|
param set-default CA_ROTOR2_PX 0.177
|
|
param set-default CA_ROTOR2_PY -0.177
|
|
param set-default CA_ROTOR2_KM -0.05
|
|
param set-default CA_ROTOR3_PX -0.177
|
|
param set-default CA_ROTOR3_PY 0.177
|
|
param set-default CA_ROTOR3_KM -0.05
|
|
|
|
param set-default PWM_MAIN_FUNC1 101
|
|
param set-default PWM_MAIN_FUNC2 102
|
|
param set-default PWM_MAIN_FUNC3 103
|
|
param set-default PWM_MAIN_FUNC4 104
|