Vizard 8 » Command Index » Vizard objects » sensor » <sensor>.getQuat
8.1

<sensor>.getQuat

Returns the quaternion rotation of the sensor

<sensor>.getQuat()  

Remarks

This command will return the quaternion rotation of the sensor. If the sensor does not support rotations, [0,0,0,1] will be returned.

Return Value

[x,y,z,w]