mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
ROMFS: added mixer for tailsitter simulation
- simulated tailsitter needs a virtual elevator since we cannot simulate elevons yet (liftDrag plugin does not model longitudinal moment Cm) Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
21
ROMFS/px4fmu_common/mixers/quad_x_vtol_sim.main.mix
Normal file
21
ROMFS/px4fmu_common/mixers/quad_x_vtol_sim.main.mix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Mixer for the gazebo tailsitter model
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
R: 4x 10000 10000 10000 0
|
||||||
|
|
||||||
|
Z:
|
||||||
|
|
||||||
|
# left elevon
|
||||||
|
M: 1
|
||||||
|
O: 10000 10000 0 -10000 10000
|
||||||
|
S: 1 0 10000 10000 0 -10000 10000
|
||||||
|
|
||||||
|
# right elevon
|
||||||
|
M: 1
|
||||||
|
O: 10000 10000 0 -10000 10000
|
||||||
|
S: 1 0 -10000 -10000 0 -10000 10000
|
||||||
|
|
||||||
|
# mixer for the virtual elevator
|
||||||
|
M: 1
|
||||||
|
O: 10000 10000 0 -10000 10000
|
||||||
|
S: 1 1 -10000 -10000 0 -10000 10000
|
||||||
@@ -60,7 +60,7 @@ mc_pos_control start
|
|||||||
mc_att_control start
|
mc_att_control start
|
||||||
fw_pos_control_l1 start
|
fw_pos_control_l1 start
|
||||||
fw_att_control start
|
fw_att_control start
|
||||||
mixer load /dev/pwm_output0 ROMFS/px4fmu_common/mixers/quad_x_vtol.main.mix
|
mixer load /dev/pwm_output0 ROMFS/px4fmu_common/mixers/quad_x_vtol_sim.main.mix
|
||||||
mavlink start -x -u 14556 -r 2000000
|
mavlink start -x -u 14556 -r 2000000
|
||||||
mavlink start -x -u 14557 -r 2000000 -m onboard -o 14540
|
mavlink start -x -u 14557 -r 2000000 -m onboard -o 14540
|
||||||
mavlink stream -r 80 -s POSITION_TARGET_LOCAL_NED -u 14556
|
mavlink stream -r 80 -s POSITION_TARGET_LOCAL_NED -u 14556
|
||||||
|
|||||||
Reference in New Issue
Block a user