public interface Gyroscope
Gyroscope interface exposes core, fundamental functionality that
is applicable to all gyroscopes: that of reporting angular rotation rate.| Modifier and Type | Method and Description |
|---|---|
AngularVelocity |
getAngularVelocity(AngleUnit unit)
Returns the angular rotation rate across all the axes measured by the gyro.
|
java.util.Set<Axis> |
getAngularVelocityAxes()
Returns the axes on which the gyroscope measures angular velocity.
|
java.util.Set<Axis> getAngularVelocityAxes()
getAngularVelocity(AngleUnit).getAngularVelocity(AngleUnit)AngularVelocity getAngularVelocity(AngleUnit unit)
unit - the unit in which the rotation rates are to be returned (the time
dimension is always inverse-seconds).getAngularVelocityAxes()