public class BNO055IMUUtil
extends java.lang.Object
Constructor and Description |
---|
BNO055IMUUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
remapAxes(com.qualcomm.hardware.bosch.BNO055IMU imu,
org.firstinspires.ftc.robotcore.external.navigation.AxesOrder order,
AxesSigns signs)
Remap BNO055 IMU axes and signs.
|
public static void remapAxes(com.qualcomm.hardware.bosch.BNO055IMU imu, org.firstinspires.ftc.robotcore.external.navigation.AxesOrder order, AxesSigns signs)
AxesOrder.ZYX
.
Call after BNO055IMU.initialize(BNO055IMU.Parameters)
. Although this isn't
mentioned in the datasheet, the axes order appears to affect the onboard sensor fusion.
Adapted from this post.imu
- IMUorder
- axes ordersigns
- axes signs