PST SDK
6.0.0.0-272350a
|
Get the transformation matrix for the current reference system.
GET /PSTapi/GetReference HTTP/1.1
Host: address:port
http://localhost:7278/PSTapi/GetReference
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.
Key | Value Type | Description |
---|---|---|
ReferenceMatrix | Array of numbers | Reference Matrix. Array of 16 floats representing a row-major 4x4 homogeneous transformation matrix |
{"ReferenceMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}
Status Code | Content Example | Meaning |
---|---|---|
200 | JSON payload | Success message |
400 | {"message":"JSON_ERROR: <...>"} | An error occurred when parsing a JSON object |
500 | {"message":"TrackerException: <...>"} | An other type of internal error |