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

The extrinsic calibration matrix between aux camera and left camera #100

Open
anakita opened this issue Oct 16, 2024 · 3 comments
Open

The extrinsic calibration matrix between aux camera and left camera #100

anakita opened this issue Oct 16, 2024 · 3 comments

Comments

@anakita
Copy link

anakita commented Oct 16, 2024

Hi, I am trying to access the extrinsic calibration matrix between the left rectified image and the aux rectified color image. Is it published on any ros topic or is there a way to access this matrix for multisense S30?

Thank you

@mattalvarado
Copy link
Contributor

Hi @anakita,

You can get the extrinsic calibration matrix from the /multisense/aux/image_rect/camera_info topic. Specifically the P matrix https://docs.carnegierobotics.com/docs/calibration/stereo.html#p-matrix from that camera info topic contains the Tx, Ty, and Tz extrinsics translation parameters. It's worth noting that the rectification process makes all the rectified images coplanar, so the rotation between the left rectified, aux rectified, and right rectified coordinate frames are all identity.

The extrinsics transform information is also dynamically populated in the published /tf network. Looking up the transform between the multisense/left_camera_optical_frame and the multisense/aux_camera_optical_frame will give you the transform matrix you are looking for.

@anakita
Copy link
Author

anakita commented Oct 16, 2024

Hi @mattalvarado , Thank you for the reply. I will check out the link.

@mattalvarado
Copy link
Contributor

You can use the TF2 listener tutorials as a reference for doing the transform lookup between the multisense/left_camera_optical_frame and the multisense/aux_camera_optical_frame frames.

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

2 participants