PX4-Autopilot/boards/omnibus/f4sd/init/rc.board_sensors
Bulut Gözübüyük 80c6ab7106 Add support for Omnibus F4 boards with ICM20608G IMUs
One can use following command to compile:
make omnibus_f4sd_icm20608g

Co-Authored-By: berkercanatar <19846944+berkercanatar@users.noreply.github.com>
2022-03-04 08:27:48 +01:00

19 lines
429 B
Bash

#!/bin/sh
#
# Omnibus F4SD specific board sensors init
#------------------------------------------------------------------------------
board_adc start
if ! mpu6000 -R 6 -s start
then
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
if ! icm20602 -s -R 6 start
then
# some clones of Omnibus F4 use the ICM-20608G (such as F4 PDB for Martian II FPV Drone)
icm20608g -s -R 6 start
fi
fi
bmp280 -s start