librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

How to us rs_motion_device_intrinsic confirm

Open hlc111 opened this issue 9 years ago • 3 comments

| Required Info | How to us rs_motion_device_intrinsic confirm | | Camera Model | ZR300 | Gyro intrinsic like below: /* Scale X cross axis cross axis Bias X / / cross axis Scale Y cross axis Bias Y / / cross axis cross axis Scale Z Bias Z */ and i confirmed all cross axis value is 0. So real value should be (raw -Bias)*Scale (should not be (raw +Bias)*Scale ). e.g. GyroX = (RawGyroX -Bias X )*Scale X. Am i right?

Thanks!

hlc111 avatar Jun 20 '17 12:06 hlc111

Hi @hlc111, It should be GyroX = (RawGyroX * Scale X) - Bias X. If you apply the same formula to the accelerometer values, you should get sqrt(x^2 + y^2 + z^2) = 9.8 when the camera is in inertial reference frame.

dorodnic avatar Jul 13 '17 07:07 dorodnic

@dorodnic What does " when the camera is in inertial reference frame" mean? I do the same formula to the accelerometer values, but the mean of sqrt(x^2 + y^2 + z^2) isn't equal to 9.8.

cza1019 avatar Aug 11 '17 11:08 cza1019

The camera isn't moving. Can you share more info about the device? (the output of enumerate-devices)

dorodnic avatar Aug 20 '17 10:08 dorodnic