enable gyro_calibration for CAN nodes

- allow saving initial gyro cal if very close to 0
This commit is contained in:
Daniel Agar
2022-06-17 15:12:27 -04:00
parent db4e09d529
commit 10deb7019e
7 changed files with 24 additions and 6 deletions
+8 -1
View File
@@ -86,10 +86,17 @@ unset BOARD_RC_SENSORS
. ${R}etc/init.d/rc.serial
# Check for flow sensor
if param compare SENS_EN_PX4FLOW 1
if param compare -s SENS_EN_PX4FLOW 1
then
px4flow start -X &
fi
if param compare -s IMU_GYRO_CAL_EN 1
then
gyro_calibration start
fi
sensors start
uavcannode start
unset R