mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-07-01 07:21:39 +00:00
Update to 2024.5.0.3
This commit is contained in:
@@ -56,6 +56,12 @@ public abstract class SwerveIMU
|
||||
*/
|
||||
public abstract Optional<Translation3d> getAccel();
|
||||
|
||||
/**
|
||||
* Fetch the rotation rate from the IMU in degrees per second. If rotation rate isn't supported returns empty.
|
||||
* @return {@link Double} of the rotation rate as an {@link Optional}.
|
||||
*/
|
||||
public abstract double getRate();
|
||||
|
||||
/**
|
||||
* Get the instantiated IMU object.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user