Modifier and Type | Field and Description |
---|---|
(package private) org.firstinspires.ftc.robotcore.external.navigation.Orientation |
angles |
(package private) org.firstinspires.ftc.robotcore.external.navigation.AxesOrder |
axesOrder |
(package private) org.firstinspires.ftc.robotcore.external.navigation.Acceleration |
gravity |
(package private) com.qualcomm.hardware.bosch.BNO055IMU |
imu |
(package private) double |
init_heading |
(package private) double |
x_location |
(package private) double |
y_location |
Constructor and Description |
---|
SingleIMU() |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
formatAngle(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit,
double angle) |
(package private) java.lang.String |
formatDegrees(double degrees) |
double |
getError(double desired) |
double |
getHeading() |
void |
init(com.qualcomm.hardware.bosch.BNO055IMU i,
org.firstinspires.ftc.robotcore.external.navigation.AxesOrder axesOrder,
double heading) |
double x_location
double y_location
double init_heading
com.qualcomm.hardware.bosch.BNO055IMU imu
org.firstinspires.ftc.robotcore.external.navigation.AxesOrder axesOrder
org.firstinspires.ftc.robotcore.external.navigation.Orientation angles
org.firstinspires.ftc.robotcore.external.navigation.Acceleration gravity
public void init(com.qualcomm.hardware.bosch.BNO055IMU i, org.firstinspires.ftc.robotcore.external.navigation.AxesOrder axesOrder, double heading)
public double getHeading()
getHeading
in interface IMU
java.lang.String formatAngle(org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit, double angle)
java.lang.String formatDegrees(double degrees)