#include <tango_client_api.h>
Public Attributes | |
float | accuracy |
Unused. Reserved for metric accuracy. | |
uint32_t | confidence |
Unused. Integer levels are determined by service. | |
TangoCoordinateFramePair | frame |
double | orientation [4] |
TangoPoseStatusType | status_code |
The status of the pose, according to the pose lifecycle. | |
double | timestamp |
The timestamp of the pose estimate, in seconds. | |
double | translation [3] |
uint32_t | version |
< Unused. An integer denoting the version of the structure. |
The TangoPoseData struct contains pose information returned from motion tracking. The device pose is given using Android conventions. See the Android Sensor Overview page for more information.
Definition at line 305 of file tango_client_api.h.
float TangoPoseData::accuracy |
Unused. Reserved for metric accuracy.
Definition at line 333 of file tango_client_api.h.
uint32_t TangoPoseData::confidence |
Unused. Integer levels are determined by service.
Definition at line 332 of file tango_client_api.h.
The pair of coordinate frames for this pose. We retrieve a pose for a target coordinate frame (such as the Tango device) against a base coordinate frame (such as a learned area).
Definition at line 331 of file tango_client_api.h.
double TangoPoseData::orientation[4] |
Orientation, as a quaternion, of the pose of the target frame with reference to the base frame. Specified as (x,y,z,w) where RotationAngle is in radians:
x = RotationAxis.x * sin(RotationAngle / 2) y = RotationAxis.y * sin(RotationAngle / 2) z = RotationAxis.z * sin(RotationAngle / 2) w = cos(RotationAngle / 2)
Definition at line 321 of file tango_client_api.h.
The status of the pose, according to the pose lifecycle.
Definition at line 327 of file tango_client_api.h.
double TangoPoseData::timestamp |
The timestamp of the pose estimate, in seconds.
Definition at line 310 of file tango_client_api.h.
double TangoPoseData::translation[3] |
Translation, ordered x, y, z, of the pose of the target frame with reference to the base frame.
Definition at line 325 of file tango_client_api.h.
uint32_t TangoPoseData::version |
< Unused. An integer denoting the version of the structure.
Definition at line 307 of file tango_client_api.h.