-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Control Allocation #13351
Closed
Closed
WIP: Control Allocation #13351
Changes from all commits
Commits
Show all changes
129 commits
Select commit
Hold shift + click to select a range
b244c2c
LPF: add sample frequency getter
jlecoeur 7928b8f
uORB: Add angular accel, torque & thrust setpoints
jlecoeur d927c33
logger: log angular acceleration, torque and thrust setpoints for sys…
jlecoeur 31d9ed7
sitl iris: set inertia and update gains
jlecoeur 7028051
Add topic vehicle_actuator_setpoint
jlecoeur 88b1298
Add actuator control groups 4 and 5
jlecoeur 4a68c10
PX4IO: adapt to added control groups 4 and 5
jlecoeur b6bf0f1
mixer_module: adapt to added control groups 4 and 5
jlecoeur 15f0a03
Add mixer type AllocatedActuatorMixer (A:)
jlecoeur 27e34b6
Add generic quad, hexa and octo mixers
jlecoeur d0291f0
Add ControlAllocation base class
jlecoeur 38cadb7
control_allocation: introduced ControlAllocationPseudoInverse class
jlecoeur 9648ef6
Add control_allocator module
jlecoeur b952370
control_allocation: implemented sequential desaturation class
RomanBapst 170a7ed
px4_sitl_default: build control_allocator
jlecoeur c316a19
px4_fmu-v5_default: build control_allocator
jlecoeur e87a98a
px4_fmu-v2_default: build control_allocator
jlecoeur 71fc9fb
mc/fw/vtol startup scripts: start control_allocator
jlecoeur 9a2afb3
sitl iris: use control allocation module
jlecoeur b39e5b6
sitl_typhoon: use control allocator module
jlecoeur ba91f12
[WIP] test on PX4IO
jlecoeur c1df715
control_allocator: fixed negative saturation status reporting
RomanBapst 568492d
standard.cpp: set pusher thrust setpoint
RomanBapst 908d09b
sitl standard vtol: set parameters required for CA module
RomanBapst fdcf144
added direct mixer to fly stanard vtol with control allocation module
RomanBapst 961311c
SITL: use direct mixer for standard vtol
RomanBapst 63ee029
control_allocator: added control effectiveness matrix for fixed wing …
RomanBapst 1155f2e
control allocation: fomatting fix
RomanBapst 73fd294
control_allocator: maintain quad_w effectiveness
jlecoeur bc30f49
sitl standard_vtol: set param CA_AIRFRAME
jlecoeur 236a289
Fix standard_vtol param names
jlecoeur ed822ac
fmu-v2: do not build control_allocator
jlecoeur 266b819
Add angular_velocity_controller module
jlecoeur 836f0c7
sitl iris: revert default gains
jlecoeur 09b0f9a
sitl standard_vtol: use default inertia
jlecoeur 2556c71
mc/fw/vtol: revert control_allocator autostart
jlecoeur b86535e
fmu-v5: build angular_velocity_controller
jlecoeur d2668f7
sitl: build angular_velocity_controller
jlecoeur 766d615
Add rc.new_apps script to test new controllers and control allocator
jlecoeur e3b5b6d
sitl: autostart new apps
jlecoeur 9889164
sitl typhoon_h480: set inertia and gains
jlecoeur fb4c9d5
format
jlecoeur 97130d7
sitl standard_vtol: disable control allocation (CI fails)
jlecoeur e87dd7b
AngularVelocityController: fixup
jlecoeur e7e7872
ControlAllocation: fix appveyor build
jlecoeur 3a53b7d
angular_velocity_controller: run in FW mode
jlecoeur af72fc8
control_allocator: do not publish multirotor_motor_limits
jlecoeur cddf12b
control_allocator: fix param metadata
jlecoeur 544b9a3
standard_vtol: activate both motors and flaps during transitions
jlecoeur 736dfa1
standard_vtol: reactivate control allocation
jlecoeur 57bab34
control_allocator: enumerate airframes
jlecoeur 29fe598
format
jlecoeur 212dd59
ControlAllocation: fix global defined macro interfering with local me…
MaEtUgR e136a42
control_allocation: rename _B -> _effectiveness
jlecoeur bac71d6
control_allocation: rename _A -> _mix
jlecoeur 17946d2
control_allocation: fix method names
jlecoeur 11a87a5
control_allocation: fix state in setActuatorSetpoint
jlecoeur 81827ae
control_allocation: fixup
jlecoeur 32c524a
control_allocator: update effectiveness when changed
jlecoeur 28bedf9
Add tiltrotor effectiveness (WIP)
jlecoeur 1cc5bab
sitl tiltrotor: add direct mixer
jlecoeur 16976b1
control_allocation: make allocation incremental
jlecoeur e07d49f
control_allocation: update method signature
jlecoeur 8afc742
ControlAllocationPseudoInverse: rename _A_update_needed -> _mix_updat…
jlecoeur fd8a8ab
ControlAllocation: set trim with effectiveness
jlecoeur 9ccddf5
ControlAllocationPseudoInverse: set trim with effectiveness
jlecoeur 8b3dba7
ControlAllocationSequentialDesaturation: set trim with effectiveness
jlecoeur 6a50223
ControlAllocator: set trim with effectiveness
jlecoeur 4d6199b
sitl tiltrotor: type
jlecoeur 7b19e81
sitl tiltrotor: use control allocation
jlecoeur 5bab9d9
Fix rebase conflicts
jlecoeur e3c61c0
angvelctrl: align param order with mc_rate_control
jlecoeur 10e4887
allocator: fill allocation success flags
jlecoeur 334d34b
Format
jlecoeur 1ca1172
Add AllocationMethod enum
jlecoeur 7cefa56
Print more info
jlecoeur 0e776d2
Move effectiveness matrices to provider classes
jlecoeur b2ffda0
Generate MC effectiveness from params
jlecoeur fb0ad54
Run control allocator in its own work queue
jlecoeur e5c5ee5
Revert CA support from px4io
jlecoeur 2eca2f2
Add common direct.main.mix mixer
jlecoeur 67d45ef
Define moment coefficient as moment/thrust ratio
jlecoeur 4f4c2f7
Remove unused airframe
jlecoeur 82517e8
Set iris geometry
jlecoeur a102f39
Set iris inertia (same as gazebo model)
jlecoeur c37f16c
AVC: convert thrust_sp into Newtons
jlecoeur 2f21ecd
Clarify comment
jlecoeur c76a0bb
iris: set correct rotor rotation directions
jlecoeur 7d4f438
Disable hover thrust estimator (does not play nice with control alloc…
jlecoeur b134f9d
Display transpose of effectiveness
jlecoeur 84536f8
typhoon sitl: configure geometry, mass and inertia
jlecoeur 451b2a5
Update src/lib/mixer/AllocatedActuatorMixer/AllocatedActuatorMixer.cpp
jlecoeur e5827c6
Rename rc.new_apps -> rc.ctrlalloc
jlecoeur 5df96d0
Stop mc_rate_control when using avc
jlecoeur c6edf3f
do not build control alloca modules by default
jlecoeur a87d81b
fmu-v3, fmu-v5, sitl: add *_ctrlalloc target
jlecoeur acafdb9
sitl: do not start control alloc by default
jlecoeur f4b0188
Add iris_ctrlalloc and typhoon_ctralloc sitl airframes
jlecoeur 851c4d7
Add ActuatorEffectivenessMultirotor unit test
jlecoeur 3a135bf
revert typhoon sitl airframe changes
jlecoeur 804b30d
Update sitl_gazebo with control_allocation sitl models
jlecoeur 1b49fbc
Add target px4_fmu-v4_ctrlalloc
jlecoeur 31615ec
Run AVC in wq:ctrl_alloc
jlecoeur f117dbe
Typhoon: increase inertia
jlecoeur b247368
Add params to simulate actuator failure
jlecoeur 84c7fc1
control_allocator: build with MAX_CUSTOM_OPT_LEVEL
jlecoeur b5a8d86
angular_velocity_controller: build with MAX_CUSTOM_OPT_LEVEL
jlecoeur 69b4a41
Small fixes
jlecoeur 6a73f6f
Fix tests
jlecoeur a8f3582
add quad and hexa CA airframe configs
sfuhrer a0af613
CA: add control allocation topics
sfuhrer 74eb95f
Disable hover thrust estimator and prearming
jlecoeur 75226d8
Update sitl_gazebo submodule
jlecoeur c18b205
Disable ActuatorEffectiveness tests
jlecoeur 8a1a20d
Format
jlecoeur b948595
mixer module: handle all actuator_controls of 4 and 5 as rotors, e.g.…
sfuhrer b8b168a
Revert "Add params to simulate actuator failure"
sfuhrer 66b066d
CA_AIRFRAME: clean up param description
sfuhrer ba29c28
fix control_allocator_status: torque_setpoint_achieved and thrust_set…
bkueng 354126f
control_allocator: remove unused _task_start
bkueng 703fb00
fix control_allocator: use 'delete' instead of 'free', guard against …
bkueng 54dfdb0
fix control_allocator: set _last_run at the correct place
bkueng de10a3c
refactor control_allocator: directly get the effectiveness matrix whe…
bkueng 8c4cfe6
control_allocator: change SequentialDesaturation to existing MC mixer
bkueng fde6fb8
control_allocator: avoid vector copies and sqrt()
bkueng f8d245d
control_allocator: inline one-line setters & getters
bkueng bdacca3
control_allocator: ensure unused outputs are initialized to min
bkueng 2d3d6e8
control_allocator: set unused actuators to trim instead of min
bkueng 014d6ac
ActuatorEffectivenessMultirotor: set effectiveness to zero when compu…
bkueng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/bin/sh | ||
# | ||
# @name 3DR Iris Quadrotor SITL | ||
# | ||
# @type Quadrotor Wide | ||
# | ||
# @maintainer Julian Oes <julian@oes.ch> | ||
# | ||
|
||
sh /etc/init.d/rc.mc_defaults | ||
sh /etc/init.d/rc.ctrlalloc | ||
|
||
if [ $AUTOCNF = yes ] | ||
then | ||
param set MPC_USE_HTE 0 | ||
|
||
param set VM_MASS 1.5 | ||
param set VM_INERTIA_XX 0.03 | ||
param set VM_INERTIA_YY 0.03 | ||
param set VM_INERTIA_ZZ 0.05 | ||
|
||
param set CA_AIRFRAME 0 | ||
param set CA_METHOD 1 | ||
param set CA_ACT0_MIN 0.0 | ||
param set CA_ACT1_MIN 0.0 | ||
param set CA_ACT2_MIN 0.0 | ||
param set CA_ACT3_MIN 0.0 | ||
param set CA_ACT0_MAX 1.0 | ||
param set CA_ACT1_MAX 1.0 | ||
param set CA_ACT2_MAX 1.0 | ||
param set CA_ACT3_MAX 1.0 | ||
|
||
param set CA_MC_R0_PX 0.1515 | ||
param set CA_MC_R0_PY 0.245 | ||
param set CA_MC_R0_CT 6.5 | ||
param set CA_MC_R0_KM 0.05 | ||
param set CA_MC_R1_PX -0.1515 | ||
param set CA_MC_R1_PY -0.1875 | ||
param set CA_MC_R1_CT 6.5 | ||
param set CA_MC_R1_KM 0.05 | ||
param set CA_MC_R2_PX 0.1515 | ||
param set CA_MC_R2_PY -0.245 | ||
param set CA_MC_R2_CT 6.5 | ||
param set CA_MC_R2_KM -0.05 | ||
param set CA_MC_R3_PX -0.1515 | ||
param set CA_MC_R3_PY 0.1875 | ||
param set CA_MC_R3_CT 6.5 | ||
param set CA_MC_R3_KM -0.05 | ||
|
||
fi | ||
|
||
set MIXER direct | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#!/bin/sh | ||
# | ||
# @name Typhoon H480 SITL | ||
# | ||
# @type Hexarotor x | ||
# | ||
|
||
sh /etc/init.d/rc.mc_defaults | ||
sh /etc/init.d/rc.ctrlalloc | ||
|
||
if [ $AUTOCNF = yes ] | ||
then | ||
param set MPC_XY_VEL_I_ACC 4 | ||
param set MPC_XY_VEL_P_ACC 3 | ||
|
||
param set RTL_DESCEND_ALT 10 | ||
param set RTL_LAND_DELAY 0 | ||
|
||
param set TRIG_INTERFACE 3 | ||
param set TRIG_MODE 4 | ||
param set MNT_MODE_IN 0 | ||
param set MAV_PROTO_VER 2 | ||
|
||
param set MPC_USE_HTE 0 | ||
|
||
param set VM_MASS 2.66 | ||
param set VM_INERTIA_XX 0.06 | ||
param set VM_INERTIA_YY 0.06 | ||
param set VM_INERTIA_ZZ 0.10 | ||
|
||
param set CA_AIRFRAME 0 | ||
param set CA_METHOD 1 | ||
param set CA_ACT0_MIN 0.0 | ||
param set CA_ACT1_MIN 0.0 | ||
param set CA_ACT2_MIN 0.0 | ||
param set CA_ACT3_MIN 0.0 | ||
param set CA_ACT4_MIN 0.0 | ||
param set CA_ACT5_MIN 0.0 | ||
param set CA_ACT0_MAX 1.0 | ||
param set CA_ACT1_MAX 1.0 | ||
param set CA_ACT2_MAX 1.0 | ||
param set CA_ACT3_MAX 1.0 | ||
param set CA_ACT4_MAX 1.0 | ||
param set CA_ACT5_MAX 1.0 | ||
|
||
param set CA_MC_R0_PX 0.0 | ||
param set CA_MC_R0_PY 1.0 | ||
param set CA_MC_R0_CT 9.5 | ||
param set CA_MC_R0_KM -0.05 | ||
param set CA_MC_R1_PX 0.0 | ||
param set CA_MC_R1_PY -1.0 | ||
param set CA_MC_R1_CT 9.5 | ||
param set CA_MC_R1_KM 0.05 | ||
param set CA_MC_R2_PX 0.866025 | ||
param set CA_MC_R2_PY -0.5 | ||
param set CA_MC_R2_CT 9.5 | ||
param set CA_MC_R2_KM -0.05 | ||
param set CA_MC_R3_PX -0.866025 | ||
param set CA_MC_R3_PY 0.5 | ||
param set CA_MC_R3_CT 9.5 | ||
param set CA_MC_R3_KM 0.05 | ||
param set CA_MC_R4_PX 0.866025 | ||
param set CA_MC_R4_PY 0.5 | ||
param set CA_MC_R4_CT 9.5 | ||
param set CA_MC_R4_KM 0.05 | ||
param set CA_MC_R5_PX -0.866025 | ||
param set CA_MC_R5_PY -0.5 | ||
param set CA_MC_R5_CT 9.5 | ||
param set CA_MC_R5_KM -0.05 | ||
fi | ||
|
||
set MAV_TYPE 13 | ||
|
||
# set MIXER hexa_x | ||
set MIXER direct |
10 changes: 10 additions & 0 deletions
10
ROMFS/px4fmu_common/init.d-posix/6012_typhoon_ctrlalloc.post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
mixer append /dev/pwm_output0 etc/mixers/mount_legs.aux.mix | ||
|
||
mavlink start -x -u 14558 -r 4000 -f -m onboard -o 14530 | ||
|
||
# shellcheck disable=SC2154 | ||
mavlink stream -r 10 -s MOUNT_ORIENTATION -u $udp_gcs_port_local | ||
# shellcheck disable=SC2154 | ||
mavlink stream -r 50 -s ATTITUDE_QUATERNION -u $udp_offboard_port_local | ||
mavlink stream -r 10 -s MOUNT_ORIENTATION -u $udp_offboard_port_local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,5 @@ px4_add_romfs_files( | |
rc.vehicle_setup | ||
rc.vtol_apps | ||
rc.vtol_defaults | ||
rc.ctrlalloc | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,6 @@ | |
sh /etc/init.d/rc.mc_defaults | ||
|
||
set MIXER quad_x | ||
# set MIXER quad | ||
|
||
set PWM_OUT 1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/sh | ||
# | ||
# @name S500 with control allocation | ||
# | ||
# @type Quadrotor x | ||
# @class Copter | ||
# | ||
# @maintainer Silvan Fuhrer | ||
# | ||
|
||
sh /etc/init.d/rc.mc_defaults | ||
sh /etc/init.d/rc.ctrlalloc | ||
|
||
if [ $AUTOCNF = yes ] | ||
then | ||
param set MPC_USE_HTE 0 | ||
|
||
param set VM_MASS 1.5 | ||
param set VM_INERTIA_XX 0.03 | ||
param set VM_INERTIA_YY 0.03 | ||
param set VM_INERTIA_ZZ 0.05 | ||
|
||
param set CA_AIRFRAME 0 | ||
param set CA_METHOD 1 | ||
param set CA_ACT0_MIN 0.0 | ||
param set CA_ACT1_MIN 0.0 | ||
param set CA_ACT2_MIN 0.0 | ||
param set CA_ACT3_MIN 0.0 | ||
param set CA_ACT0_MAX 1.0 | ||
param set CA_ACT1_MAX 1.0 | ||
param set CA_ACT2_MAX 1.0 | ||
param set CA_ACT3_MAX 1.0 | ||
|
||
param set CA_MC_R0_PX 0.177 | ||
param set CA_MC_R0_PY 0.177 | ||
param set CA_MC_R0_CT 6.5 | ||
param set CA_MC_R0_KM 0.05 | ||
param set CA_MC_R1_PX -0.177 | ||
param set CA_MC_R1_PY -0.177 | ||
param set CA_MC_R1_CT 6.5 | ||
param set CA_MC_R1_KM 0.05 | ||
param set CA_MC_R2_PX 0.177 | ||
param set CA_MC_R2_PY -0.177 | ||
param set CA_MC_R2_CT 6.5 | ||
param set CA_MC_R2_KM -0.05 | ||
param set CA_MC_R3_PX -0.177 | ||
param set CA_MC_R3_PY 0.177 | ||
param set CA_MC_R3_CT 6.5 | ||
param set CA_MC_R3_KM -0.05 | ||
|
||
fi | ||
|
||
set MIXER direct | ||
set PWM_OUT 1234 | ||
|
||
set MIXER_AUX direct_aux | ||
set PWM_AUX_OUT 1234 |
75 changes: 75 additions & 0 deletions
75
ROMFS/px4fmu_common/init.d/airframes/6002_hexa_x_ctrlalloc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#!/bin/sh | ||
# | ||
# @name Hex X with control allocation | ||
# | ||
# @type Hexarotor x | ||
# @class Copter | ||
# | ||
# @maintainer Silvan Fuhrer | ||
# | ||
|
||
sh /etc/init.d/rc.mc_defaults | ||
sh /etc/init.d/rc.ctrlalloc | ||
|
||
if [ $AUTOCNF = yes ] | ||
then | ||
param set MPC_USE_HTE 0 | ||
|
||
param set VM_MASS 1.5 | ||
param set VM_INERTIA_XX 0.03 | ||
param set VM_INERTIA_YY 0.03 | ||
param set VM_INERTIA_ZZ 0.05 | ||
|
||
param set CA_AIRFRAME 0 | ||
param set CA_METHOD 1 | ||
param set CA_ACT0_MIN 0.0 | ||
param set CA_ACT1_MIN 0.0 | ||
param set CA_ACT2_MIN 0.0 | ||
param set CA_ACT3_MIN 0.0 | ||
param set CA_ACT4_MIN 0.0 | ||
param set CA_ACT5_MIN 0.0 | ||
|
||
param set CA_ACT0_MAX 1.0 | ||
param set CA_ACT1_MAX 1.0 | ||
param set CA_ACT2_MAX 1.0 | ||
param set CA_ACT3_MAX 1.0 | ||
param set CA_ACT4_MAX 1.0 | ||
param set CA_ACT5_MAX 1.0 | ||
|
||
param set CA_MC_R0_PX 0.0 | ||
param set CA_MC_R0_PY 0.275 | ||
param set CA_MC_R0_CT 6.5 | ||
param set CA_MC_R0_KM -0.05 | ||
|
||
param set CA_MC_R1_PX 0.0 | ||
param set CA_MC_R1_PY -0.275 | ||
param set CA_MC_R1_CT 6.5 | ||
param set CA_MC_R1_KM 0.05 | ||
|
||
param set CA_MC_R2_PX 0.238 | ||
param set CA_MC_R2_PY -0.1375 | ||
param set CA_MC_R2_CT 6.5 | ||
param set CA_MC_R2_KM -0.05 | ||
|
||
param set CA_MC_R3_PX -0.238 | ||
param set CA_MC_R3_PY 0.1375 | ||
param set CA_MC_R3_CT 6.5 | ||
param set CA_MC_R3_KM 0.05 | ||
|
||
param set CA_MC_R4_PX 0.238 | ||
param set CA_MC_R4_PY 0.1375 | ||
param set CA_MC_R4_CT 6.5 | ||
param set CA_MC_R4_KM 0.05 | ||
|
||
param set CA_MC_R5_PX -0.238 | ||
param set CA_MC_R5_PY -0.1375 | ||
param set CA_MC_R5_CT 6.5 | ||
param set CA_MC_R5_KM -0.05 | ||
|
||
fi | ||
|
||
set MIXER direct | ||
set PWM_OUT 123456 | ||
|
||
set MIXER_AUX direct_aux | ||
set PWM_AUX_OUT 123456 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
# | ||
# Standard apps for new control allocation and controllers | ||
# | ||
# NOTE: Script variables are declared/initialized/unset in the rcS script. | ||
# | ||
|
||
# | ||
# Start angular velocity controller | ||
# | ||
angular_velocity_controller start | ||
mc_rate_control stop | ||
|
||
# | ||
# Start Control Allocator | ||
# | ||
control_allocator start | ||
|
||
# | ||
# Disable hover thrust estimator and prearming | ||
# These features are currently incompatible with control allocation | ||
# | ||
# TODO: fix | ||
# | ||
param set MPC_USE_HTE 0 | ||
param set COM_PREARM_MODE 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so 😄