127 units::radian_t GetYawNoOffset();
129 units::radian_t m_yawOffset{0};
SystemCore onboard IMU.
Definition OnboardIMU.h:19
units::radians_per_second_t GetGyroRateZ()
Get the angular rate about the Z axis of the IMU.
units::radian_t GetAngleY()
Get the angle about the Y axis of the IMU.
units::radian_t GetAngleZ()
Get the angle about the Z axis of the IMU.
units::radians_per_second_t GetGyroRateY()
Get the angular rate about the Y axis of the IMU.
units::meters_per_second_squared_t GetAccelY()
Get the acceleration along the Z axis of the IMU.
units::radians_per_second_t GetGyroRateX()
Get the angular rate about the X axis of the IMU.
units::radian_t GetYaw()
Get the yaw value.
units::meters_per_second_squared_t GetAccelZ()
Get the acceleration along the Z axis of the IMU.
void ResetYaw()
Reset the current yaw value to 0.
units::meters_per_second_squared_t GetAccelX()
Get the acceleration along the X axis of the IMU.
Rotation2d GetRotation2d()
Get the yaw as a Rotation2d.
Rotation3d GetRotation3d()
Get the 3D orientation as a Rotation3d.
OnboardIMU(MountOrientation mountOrientation)
Constructs a handle to the SystemCore onboard IMU.
MountOrientation
A mount orientation of SystemCore.
Definition OnboardIMU.h:24
@ kFlat
Flat (mounted parallel to the ground).
Definition OnboardIMU.h:26
@ kPortrait
Portrait (vertically mounted with the short edge of SystemCore parallel to the ground).
Definition OnboardIMU.h:32
@ kLandscape
Landscape (vertically mounted with long edge of SystemCore parallel to the ground).
Definition OnboardIMU.h:29
Quaternion GetQuaternion()
Get the 3D orientation as a Quaternion.
units::radian_t GetAngleX()
Get the angle about the X axis of the IMU.
Represents a quaternion.
Definition Quaternion.h:19
A rotation in a 2D coordinate frame represented by a point on the unit circle (cosine and sine).
Definition Rotation2d.h:26
A rotation in a 3D coordinate frame represented by a quaternion.
Definition Rotation3d.h:29
Definition SystemServer.h:9