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

Documentation on Roll, Pitch, Yaw Angle Convention for Calibration #106

Open
seanbergman98 opened this issue Dec 1, 2021 · 2 comments
Open

Comments

@seanbergman98
Copy link

Hello! I've been using this tool for the past few weeks, and have to say it works quite well. However, I was realizing there is a lack of documentation on the convention for the output roll, pitch, and yaw angles. When trying to incorporate these angles into a URDF (via the rpy arg) the transform ended up being way off despite looking good during the calibration, which made me realize that two different angle conventions are likely being used.

If there is pre-existing documentation that I missed kindly point me in that direction. Thank you!

@JStech
Copy link
Contributor

JStech commented Jan 21, 2022

There is no documentation for that, although I did implement it specifically so I could copy and paste the values directly into a URDF. I don't know why it's not working for you.

@abenbihi
Copy link

abenbihi commented May 3, 2023

Hi,

I have run into a similar issue where using the commented rpy flipped the camera.
It might be related to #132

Could it be a conversion difference between how eigen and ros-geometry convert quaternion to euler angles?

In my case, using the ros-geometry euler_from_quaternion on the quaternion saved in the launch file with sxyzprovides good euler angles.
(Here "good" means "the tf associated to the optical camera frame points where it should in rviz").

Currently, the code estimates euler angles from quaternion using the eigen library here
Eigen::Vector3d r_euler = camera_robot_pose_.rotation().eulerAngles(0, 1, 2)

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