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 coordinate origin of the ZED camera #531

Closed
Weimmer opened this issue Feb 24, 2020 · 4 comments
Closed

The coordinate origin of the ZED camera #531

Weimmer opened this issue Feb 24, 2020 · 4 comments
Assignees

Comments

@Weimmer
Copy link

Weimmer commented Feb 24, 2020

Hi,

i am using the pose data from the ZED camera, i am confused of the coordinata origin of the camera, this is very importante to me. because of the calibration, i have to know where the point exactly is, for example, 2cm in the middle behinde the left camera.
I think the origin of the point cloud is the same to the pose, if i would be wrong, please tell me also where is the origin of the point cloud.

Thanks in advance!!!
Best regards

@Myzhar Myzhar self-assigned this Feb 24, 2020
@Myzhar
Copy link
Member

Myzhar commented Feb 24, 2020

Hi @eisenwu
the pose published by the ZED wrapper is automatically referred to the base_link frame to make it easier for users to use it and to integrate it in the robotic framework.

The reference frame of the pointcloud is instead in the center of the left camera sensor, 6 cm left of the center of the camera that is exactly in the middle of it.

@Weimmer
Copy link
Author

Weimmer commented Feb 24, 2020

@Myzhar thanks a lot for your quick answer :)
is that right? the origin of the pose is exactly in the middle of camera, and the origin of the point cloud is 6cm left of the middle?

@Myzhar
Copy link
Member

Myzhar commented Feb 24, 2020

It's partially correct.
That's true only if zed_camera_frame and base_link are cohincident.
If you modify the launch file here
https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed_wrapper/launch/zed.launch#L29-L34
you introduce an offset between zed_camera_frame and base_link and the pose will be referred to base_link.
For more info:
https://www.ros.org/reps/rep-0105.html

@Weimmer
Copy link
Author

Weimmer commented Feb 24, 2020

@Myzhar Thank you!!!

@Weimmer Weimmer closed this as completed Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants