The TangoCoordinateFramePair struct contains a pair of coordinate frames of reference. More...
#include <tango_client_api.h>
Public Attributes | |
TangoCoordinateFrameType | base |
TangoCoordinateFrameType | target |
The TangoCoordinateFramePair struct contains a pair of coordinate frames of reference.
Tango pose data is calculated as a transformation between two frames of reference (so, for example, you can be asking for the pose of the device within a learned area).
This struct is used to specify the desired base and target frames of reference when requesting pose data. You can also use it when you have a TangoPoseData structure returned from the API and want to examine which frames of reference were used to get that pose.
For more information, including which coordinate frame pairs are valid, see our page on frames of reference.
Definition at line 285 of file tango_client_api.h.
Base frame of reference to compare against when requesting pose data. For example, if you have loaded an area and want to find out where the device is within it, you would use the TANGO_COORDINATE_FRAME_AREA_DESCRIPTION
frame of reference as your base.
Definition at line 291 of file tango_client_api.h.
Target frame of reference when requesting pose data, compared to the base. For example, if you want the device's pose data, use TANGO_COORDINATE_FRAME_DEVICE
.
Definition at line 296 of file tango_client_api.h.