mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-27 00:39:59 +08:00
- hex_cube-orange_default -> cubepilot_cubeorange_default - hex_cube-yellow_default -> cubepilot_cubeyellow_default
23 lines
441 B
Bash
23 lines
441 B
Bash
#!/bin/sh
|
|
#
|
|
# Board specific defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set BAT_V_DIV 10.1
|
|
param set BAT1_V_DIV 10.1
|
|
param set BAT2_V_DI 10.1
|
|
|
|
param set BAT_A_PER_V 17
|
|
param set BAT1_A_PER_V 17
|
|
param set BAT2_A_PER_V 17
|
|
|
|
# Disable IMU thermal control
|
|
param set SENS_EN_THERMAL 0
|
|
fi
|
|
|
|
set LOGGER_BUF 64
|
|
set IOFW "/etc/extras/cubepilot_io-v2_default.bin"
|