Pose
Interface: Pose
Complete pose data combining position, attitude, and other sensor data
Pose represents the complete state of a device's position and orientation in 3D space, including accuracy and timing information.
Example
const pose: Pose = {
position: new Coordinates(48.8566, 2.3522),
time: Date.now(),
accuracy: 5.0
};
Properties
accuracy?
optionalaccuracy?:number
Accuracy/confidence of the pose data in meters
attitude?
optionalattitude?:Attitude
Attitude/orientation data (heading, pitch, roll). See Attitude.
inclination?
optionalinclination?:number
Inclination angle in radians
position?
optionalposition?:UserPosition
User position. A UserPosition (a Coordinates with time,
accuracy and bearing), so it always exposes lat/lng (and the
latitude/longitude aliases), alt and level. May be undefined
before the first fix.
time?
optionaltime?:number
Timestamp of the pose update (milliseconds since epoch)