Home > @magiclane/maps-sdk > RotationRate
RotationRate class
Gyroscope rotation rate sensor data.
Measures the rate of rotation around the device's axes. Used to detect turns and angular movement.
Sensor Data Source
Signature:
export declare class RotationRate extends GemAutoreleaseObject implements SenseData Extends: GemAutoreleaseObject
Implements: SenseData
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the RotationRate class.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Date |
Acquisition time | |
|
|
Get data type | ||
|
|
number |
The rotation rate around the X axis in radians per second. | |
|
|
number |
The rotation rate around the Y axis in radians per second. | |
|
|
number |
The rotation rate around the Z axis in radians per second. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Serialize to JSON |