Skip to main content Link Search Menu Expand Document (external link)

@rotatemethod attribute

:electric_plug: dp.kinect dp.kinect2 dp.kinect3 dp.oak
:information_source: signature
rotatemethod {ROTATE_STRING | ROTATE_INT}
:house: values
off or 0
no compensation default
elevation or 1
elevation compensation (simple X-axis)
gravity or 2
gravity compensation (three axes)
:bulb: examples
@rotatemethod gravity
@rotatemethod 2

Rotate data to compensate for gravity. This compensation is combined with rotations from jit.anim.node, @quat, @rotate, and @rotatexyz.

:memo: @rotatemethod 1 by elevation is emulated in dp.kinect2 and removed from all v1.3 and newer plugins.

:memo: This feature is only supported on sensors with an IMU.