mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 23:53:34 +08:00
Initial Hex/Proficnc Cube Yellow support
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/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 by FMU
|
||||
param set SENS_EN_THERMAL -1
|
||||
fi
|
||||
|
||||
set LOGGER_BUF 64
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Board specific MAVLink startup script.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Start MAVLink on the USB port
|
||||
mavlink start -d /dev/ttyACM0
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Board specific sensors init
|
||||
#------------------------------------------------------------------------------
|
||||
adc start
|
||||
|
||||
# SPI1
|
||||
ms5611 -s -b 1 start
|
||||
icm20649 -s -b 1 start
|
||||
|
||||
# SPI4
|
||||
ms5611 -s -b 4 start
|
||||
icm20602 -s -b 4 -R 12 start
|
||||
icm20948 -s -b 4 -R 10 -M start
|
||||
|
||||
# Possible external compasses
|
||||
ist8310 -X start
|
||||
hmc5883 -T -X start
|
||||
qmc5883 -X start
|
||||
lis3mdl -X start
|
||||
Reference in New Issue
Block a user