Méthode | Description | |
---|---|---|
GetPoseAtTime ( [ poseData, double timeStamp, |
Get a pose at a given timestamp from the base to the target frame. All poses returned are marked as TANGO_POSE_VALID (in the status_code field on TangoPoseData ) even if they were marked as TANGO_POSE_INITIALIZING in the callback poses. If no pose can be returned, the status_code of the returned pose will be TANGO_POSE_INVALID.
|
|
ResetMotionTracking ( ) : void |
Resets the motion tracking system. This reinitializes the
|
Méthode | Description | |
---|---|---|
GetTangoEmulation ( Vector3 &posePosition, |
INTERNAL USE: Get the most recent values for Tango emulation.
|
|
SetCallback ( |
Set the C callback for the Tango pose interface.
|
|
UpdateTangoEmulation ( ) : void |
INTERNAL USE: Update the Tango emulation state for pose data. Make this this is only called once per frame.
|
public static GetPoseAtTime ( [ poseData, double timeStamp, |
||
poseData | [ | The pose to return. |
timeStamp | double | /// Time specified in seconds. /// /// If not set to 0.0, GetPoseAtTime retrieves the interpolated pose closest to this timestamp. If set to 0.0, /// the most recent pose estimate for the target-base pair is returned. The time of the returned pose is /// contained in the pose output structure and may differ from the queried timestamp. /// |
framePair | /// A pair of coordinate frames specifying the transformation to be queried for. /// /// For example, typical device motion is given by a target frame of TANGO_COORDINATE_FRAME_DEVICE and a base /// frame of TANGO_COORDINATE_FRAME_START_OF_SERVICE . /// | |
Résultat | void |
public static ResetMotionTracking ( ) : void | ||
Résultat | void |