public class AngularVelocity
extends java.lang.Object
AngularVelocity represent an instantaneous body-referenced 3D rotation rate.
The instantaneous rate of change of an Orientation, which is what we are representing
here, has unexpected subtleties. As described in Section 9.3 of the MIT Kinematics Lecture below,
the instantaneous body-referenced rotation rate angles are decoupled (their order does not
matter) but their conversion into a corresponding instantaneous rate of change of a set of
related Euler angles (ie: Orientation involves a non-obvious transformation on two
of the rotation rates.
| Modifier and Type | Field and Description |
|---|---|
long |
acquisitionTime
the time on the System.nanoTime() clock at which the data was acquired.
|
AngleUnit |
unit
the angular unit in which angular rates are expressed.
|
float |
xRotationRate
the instantaneous body-referenced rotation rate about the x-axis in units
of "
units per second". |
float |
yRotationRate
the instantaneous body-referenced rotation rate about the y-axis in units
of "
units per second". |
float |
zRotationRate
the instantaneous body-referenced rotation rate about the z-axis in units
of "
units per second". |
| Constructor and Description |
|---|
AngularVelocity() |
AngularVelocity(AngleUnit unit,
float xRotationRate,
float yRotationRate,
float zRotationRate,
long acquisitionTime) |
| Modifier and Type | Method and Description |
|---|---|
AngularVelocity |
toAngleUnit(AngleUnit unit)
Converts this
AngularVelocity to one with the indicated angular units. |
public AngleUnit unit
public float xRotationRate
units per second".public float yRotationRate
units per second".public float zRotationRate
units per second".public long acquisitionTime
public AngularVelocity()
public AngularVelocity(AngleUnit unit, float xRotationRate, float yRotationRate, float zRotationRate, long acquisitionTime)
public AngularVelocity toAngleUnit(AngleUnit unit)
AngularVelocity to one with the indicated angular units.unit - the units to use in the returned [@link AngularVelocity}