mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 10:41:35 +08:00
MPU6K: Switch to 16g range to deal with vibration
This commit is contained in:
@@ -24,7 +24,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# external MPU6K is rotated 180 degrees yaw
|
# external MPU6K is rotated 180 degrees yaw
|
||||||
if mpu6000 -X -R 4 start
|
if mpu6000 -X -R 4 -a 16 start
|
||||||
then
|
then
|
||||||
set BOARD_FMUV3 true
|
set BOARD_FMUV3 true
|
||||||
else
|
else
|
||||||
@@ -44,7 +44,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# internal MPU6000 is rotated 180 deg roll, 270 deg yaw
|
# internal MPU6000 is rotated 180 deg roll, 270 deg yaw
|
||||||
if mpu6000 -R 14 start
|
if mpu6000 -R 14 -a 16 start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ then
|
|||||||
|
|
||||||
else
|
else
|
||||||
# FMUv2
|
# FMUv2
|
||||||
if mpu6000 start
|
if mpu6000 -a 16 start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user