Class Limelight.IMUData
java.lang.Object
com.limelightvision.Limelight.IMUData
- Enclosing class:
Limelight
The state of the camera's internal IMU.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleAccelerometer X (forward) axis.doubleAccelerometer Y (left) axis.doubleAccelerometer Z (up) axis.doubleGyro angular velocity about X in degrees per second.doubleGyro angular velocity about Y in degrees per second.doubleGyro angular velocity about Z in degrees per second.doubleInternal IMU pitch in degrees.double[]Orientation quaternion [w, x, y, z].doubleFinal fused robot yaw in degrees, the value MegaTag2 uses (includes yawOffsetDegrees).doubleInternal IMU roll in degrees.doubleRaw internal IMU yaw in degrees (before yawOffsetDegrees, seerobotYawDegrees).doubleYaw offset in degrees currently applied to the internal IMU. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
quaternion
public double[] quaternionOrientation quaternion [w, x, y, z]. -
robotYawDegrees
public double robotYawDegreesFinal fused robot yaw in degrees, the value MegaTag2 uses (includes yawOffsetDegrees). -
yawOffsetDegrees
public double yawOffsetDegreesYaw offset in degrees currently applied to the internal IMU. -
rollDegrees
public double rollDegreesInternal IMU roll in degrees. -
pitchDegrees
public double pitchDegreesInternal IMU pitch in degrees. -
yawDegrees
public double yawDegreesRaw internal IMU yaw in degrees (before yawOffsetDegrees, seerobotYawDegrees). -
gyroXDegreesPerSecond
public double gyroXDegreesPerSecondGyro angular velocity about X in degrees per second. -
gyroYDegreesPerSecond
public double gyroYDegreesPerSecondGyro angular velocity about Y in degrees per second. -
gyroZDegreesPerSecond
public double gyroZDegreesPerSecondGyro angular velocity about Z in degrees per second. -
accelX
public double accelXAccelerometer X (forward) axis. -
accelY
public double accelYAccelerometer Y (left) axis. -
accelZ
public double accelZAccelerometer Z (up) axis.
-
-
Constructor Details
-
IMUData
public IMUData()
-