mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
create new multicopter rate controller module (mc_rate_control) split out of mc_att_control
This commit is contained in:
@@ -22,10 +22,10 @@ param set SYS_AUTOSTART 4011
|
||||
# Note that the setting here applies to all PWM channels.
|
||||
# param set PWM_MIN 1120
|
||||
# param set PWM_MAX 1920
|
||||
# Not using DJI 430 LITE ESC anymore due to its hiccups:
|
||||
# Not using DJI 430 LITE ESC anymore due to its hiccups:
|
||||
# each random motor stop would cause a scary flip in the fly
|
||||
# Replacing with 4 BLHeli32 (Wraith32 V2) ESCs solved the main problem in BBBlue porting
|
||||
|
||||
|
||||
# Broadcast heartbeats on local network. This allows a ground control station
|
||||
# to automatically find the drone on the local network.
|
||||
param set MAV_BROADCAST 1
|
||||
@@ -70,10 +70,11 @@ land_detector start multicopter
|
||||
|
||||
mc_pos_control start
|
||||
mc_att_control start
|
||||
mc_rate_control start
|
||||
#fw_att_control start
|
||||
#fw_pos_control_l1 start
|
||||
|
||||
mavlink start -n SoftAp -x -u 14556 -r 1000000
|
||||
mavlink start -n SoftAp -x -u 14556 -r 1000000
|
||||
# -n name of wifi interface: SoftAp, wlan or your custom interface,
|
||||
# e.g., -n SoftAp . The default is wlan
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ param set SYS_AUTOSTART 4011
|
||||
# Not using DJI 430 LITE ESC anymore due to its hiccups:
|
||||
# each random motor stop would cause a scary flip in the fly
|
||||
# Replacing with 4 BLHeli32 (Wraith32 V2) ESCs solved the main problem in BBBlue porting
|
||||
|
||||
|
||||
# Broadcast heartbeats on local network. This allows a ground control station
|
||||
# to automatically find the drone on the local network.
|
||||
param set MAV_BROADCAST 1
|
||||
@@ -36,7 +36,7 @@ param set MAV_TYPE 2
|
||||
# Three possible main power battery sources for BBBlue:
|
||||
# 1. onboard 2S LiPo battery connector, which is connect to ADC channel 6
|
||||
# 2. onboard 9-18V DC Jack, which is connect to ADC channel 5. This is the board default.
|
||||
# 3. other power source (e.g., LiPo battery more than 4S/18V).
|
||||
# 3. other power source (e.g., LiPo battery more than 4S/18V).
|
||||
# Scale the voltage to below 1.8V and connect it to ADC channel # 0, 1, 2 or 3.
|
||||
param set BAT_ADC_CHANNEL 5
|
||||
|
||||
@@ -70,11 +70,12 @@ ekf2 start
|
||||
|
||||
#mc_pos_control start
|
||||
#mc_att_control start
|
||||
#mc_rate_control start
|
||||
fw_att_control start
|
||||
fw_pos_control_l1 start
|
||||
|
||||
mavlink start -n SoftAp -x -u 14556 -r 1000000
|
||||
# -n name of wifi interface: SoftAp, wlan or your custom interface,
|
||||
mavlink start -n SoftAp -x -u 14556 -r 1000000
|
||||
# -n name of wifi interface: SoftAp, wlan or your custom interface,
|
||||
# e.g., -n wlan . The default on BBBlue is SoftAp
|
||||
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user