Loading...
Searching...
No Matches
GetReference

Get 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 floats 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 occurred when parsing a JSON object
500 | {"message":"TrackerException: <...>"} | An other type of internal error