mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 14:53:33 +08:00
crazyflie: fix PWM channel ordering
Channels belonging to a certain timer were not all grouped together. This is required by the .first_channel_index and .last_channel_index data members. We introduce a new mixer geometry to solve the problem.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#
|
||||
sh /etc/init.d/rc.mc_defaults
|
||||
|
||||
set MIXER quad_x
|
||||
set MIXER quad_x_cw
|
||||
set PWM_OUT 1234
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
|
||||
@@ -71,6 +71,7 @@ px4_add_romfs_files(
|
||||
quad_+_vtol.main.mix
|
||||
quad_w.main.mix
|
||||
quad_x.main.mix
|
||||
quad_x_cw.main.mix
|
||||
quad_x_vtol.main.mix
|
||||
stampede.main.mix
|
||||
tri_y_yaw-.main.mix
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# @board px4_fmu-v2 exclude
|
||||
# Quad X with clock-wise motor assigment
|
||||
|
||||
R: 4xcw 10000 10000 10000 0
|
||||
|
||||
Reference in New Issue
Block a user