mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 17:23:34 +08:00
16 lines
289 B
Bash
16 lines
289 B
Bash
#!/bin/sh
|
|
#
|
|
# board sensors init
|
|
#------------------------------------------------------------------------------
|
|
echo "Starting Teseo GPS"
|
|
teseo_gps start -d /dev/ttyS0 -b 460800
|
|
|
|
icm42688p -R 0 -s start
|
|
|
|
bmp388 -I -b 1 start
|
|
|
|
if ! iis2mdc -R 2 -I -b 1 start
|
|
then
|
|
bmm150 -I -b 1 start
|
|
fi
|