Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to us rs_motion_device_intrinsic confirm #538

Closed
hlc111 opened this issue Jun 20, 2017 · 3 comments
Closed

How to us rs_motion_device_intrinsic confirm #538

hlc111 opened this issue Jun 20, 2017 · 3 comments

Comments

@hlc111
Copy link

hlc111 commented Jun 20, 2017

| 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!

@dorodnic
Copy link
Contributor

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.

@cza1019
Copy link

cza1019 commented Aug 11, 2017

@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.

@dorodnic
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants