Specify orientaiton of ADIS16448 IMU from rc.sensors

Specify orientaiton of ADIS16448 IMU for from the rc.sensors

WIP: Currently only handling one orientation
This commit is contained in:
Jaeyoung-Lim
2021-06-30 09:34:12 -04:00
committed by Daniel Agar
parent d87cd171f4
commit e45b862f1d
2 changed files with 20 additions and 1 deletions
+8 -1
View File
@@ -117,7 +117,14 @@ fi
# ADIS16448 spi external IMU
if param compare -s SENS_EN_ADIS164X 1
then
adis16448 -S start
if param compare -s SENS_OR_ADIS164X 0
then
adis16448 -S start
fi
if param compare -s SENS_OR_ADIS164X 4
then
adis16448 -S start -R 4
fi
fi
# probe for optional external I2C devices