mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- 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
38 lines
889 B
Bash
38 lines
889 B
Bash
#!/bin/sh
|
|
#
|
|
# @name 3DR Iris Quadrotor SITL
|
|
#
|
|
# @type Quadrotor Wide
|
|
#
|
|
# @maintainer Julian Oes <julian@oes.ch>
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
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.1515
|
|
param set-default CA_ROTOR0_PY 0.245
|
|
param set-default CA_ROTOR0_KM 0.05
|
|
param set-default CA_ROTOR1_PX -0.1515
|
|
param set-default CA_ROTOR1_PY -0.1875
|
|
param set-default CA_ROTOR1_KM 0.05
|
|
param set-default CA_ROTOR2_PX 0.1515
|
|
param set-default CA_ROTOR2_PY -0.245
|
|
param set-default CA_ROTOR2_KM -0.05
|
|
param set-default CA_ROTOR3_PX -0.1515
|
|
param set-default CA_ROTOR3_PY 0.1875
|
|
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
|
|
|
|
set MIXER skip
|
|
set MIXER_AUX none
|