PST SDK  5.0.1.0-acae3ae
GetReference

Gets the transformation matrix for the current reference system.

Endpoint
  
  GET /PSTapi/GetReference  HTTP/1.1
  Host: address:port
 
Get Request example
 
  http://localhost:7278/PSTapi/GetReference
 
Response

Tracking results are reported relative to a predefined right-handed Cartesian coordinate system, called the reference system. The default reference system is located at 1 meter from the PST Tracker. It is oriented such that the Z-axis points away from the PST tracker and the X-axis is parallel to the PST tracker. The transformation matrix defining the reference system is a row-major 4x4 homogeneous transformation matrix.

ReferenceMatrix Object
Key Value Type Description
ReferenceMatrix Array of numbers Reference Matrix. Array of 16 float representing a row-major 4x4 homogeneous transformation matrix
Example
 
  {"ReferenceMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}
 
Verification table
Status Code Content Example Meaning
200 Json payload Success message
400 {"message":"JSON_ERROR: <...>"} an error occured when parsing a json object
500 {"message":"TrackerException: <...>"} an other type of internal error