@rotatemethod attribute
![:electric_plug: :electric_plug:](https://github.githubassets.com/images/icons/emoji/unicode/1f50c.png)
dp.kinect
dp.kinect2
dp.kinect3
dp.oak
-
signature
rotatemethod {ROTATE_STRING | ROTATE_INT}
-
values
off or 0
- no compensation default
elevation or 1
- elevation compensation (simple X-axis)
gravity or 2
- gravity compensation (three axes)
-
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
.
![]()
@rotatemethod 1
by elevation is emulated in dp.kinect2 and removed from all v1.3 and newer plugins.
This feature is only supported on sensors with an IMU.