mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
linux boards (ocpoc, bbblue, navio2) replace custom adc drivers with simple px4_arch implementation
This commit is contained in:
@@ -46,9 +46,6 @@ param set BAT_CNT_V_VOLT 0.0004394531
|
||||
# Battery voltage scale factor, from BBBlue schematics: (4.7K + 47K) / 4.7K = 11
|
||||
param set BAT_V_DIV 11.0
|
||||
|
||||
#param set BAT_CNT_V_CURR 0.001
|
||||
#param set BAT_A_PER_V 15.391030303
|
||||
|
||||
dataman start
|
||||
|
||||
bmp280 -I start
|
||||
@@ -59,19 +56,17 @@ df_mpu9250_wrapper start
|
||||
gps start -d /dev/ttyS2 -s -p ubx
|
||||
|
||||
#rgbled start -b 1
|
||||
bbblue_adc start
|
||||
bbblue_adc test
|
||||
|
||||
adc start
|
||||
battery_status start
|
||||
|
||||
rc_update start
|
||||
sensors start
|
||||
commander start
|
||||
navigator start
|
||||
ekf2 start
|
||||
#land_detector start multicopter
|
||||
land_detector start fixedwing
|
||||
|
||||
#mc_pos_control start
|
||||
#mc_att_control start
|
||||
#mc_rate_control start
|
||||
fw_att_control start
|
||||
fw_pos_control_l1 start
|
||||
|
||||
@@ -81,10 +76,6 @@ mavlink start -n SoftAp -x -u 14556 -r 1000000
|
||||
|
||||
sleep 1
|
||||
|
||||
mavlink stream -u 14556 -s HIGHRES_IMU -r 20
|
||||
mavlink stream -u 14556 -s ATTITUDE -r 20
|
||||
mavlink stream -u 14556 -s MANUAL_CONTROL -r 10
|
||||
|
||||
linux_sbus start -d /dev/ttyS4 -c 16
|
||||
# DSM2 port is mapped to /dev/ttyS4 (default for linux_sbus)
|
||||
|
||||
@@ -93,4 +84,5 @@ linux_sbus start -d /dev/ttyS4 -c 16
|
||||
linux_pwm_out start -p bbblue_rc -m ROMFS/px4fmu_common/mixers/AETRFG.main.mix
|
||||
|
||||
logger start -t -b 200
|
||||
|
||||
mavlink boot_complete
|
||||
|
||||
Reference in New Issue
Block a user