Skip to main content

Pose

wemap-sdk-js


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?

optional accuracy?: number

Accuracy/confidence of the pose data in meters


attitude?

optional attitude?: Attitude

Attitude/orientation data (heading, pitch, roll). See Attitude.


inclination?

optional inclination?: number

Inclination angle in radians


position?

optional position?: 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?

optional time?: number

Timestamp of the pose update (milliseconds since epoch)