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

Can not get pose information and aruco_marker tf from ZED Mini camera #115

Open
wangqingyu985 opened this issue Apr 11, 2023 · 9 comments
Open

Comments

@wangqingyu985
Copy link

wangqingyu985 commented Apr 11, 2023

I used ZED Mini camera to detect the ArUco Marker, I can get the marker ID and box in rviz, but I can not get the pose information of the marker, and it seems to encountered error.
111
222

@saikishor
Copy link
Member

Hello @wangqingyu985,

The ARuCo pose information is only published when there is a subscriber and it is the same for the TF. This is done to reduce the computational load on the CPU. If you are still facing the issue, we request you send the proper instructions to reproduce the issue. If not, it would be difficult for us to help you.

Best Regards,
PAL Robotics Team.

@wangqingyu985
Copy link
Author

wangqingyu985 commented Apr 11, 2023

@saikishor
Thanks for your kindly and quickly reply. I found the issue you mensioned above when using RealSense D435 camera, and it is OK when I modified the following codes in simple_single.cpp for RealSense. But it is strange when I replaced the camera into ZED Mini, I can not get the aruco_marker tf information.
v2-8c0cb04cf51fd62d858f1b9131518b00_1440w

For RealSense camera, when I annotated the above code, I can finally get the tf information.

@saikishor
Copy link
Member

Hello @wangqingyu985,

Thank you for providing the proper information. Regarding your issue, it seems to me that the camera is not calibrated and the information inside the camera_info topic might have zeros instead of some valid values.

Thank you,

Best Regards,
PAL Robotics Team.

@saikishor
Copy link
Member

Hello @wangqingyu985,

Could you please share the info from the camera_info topic?

Best Regards,
PAL Robotics Team.

@wangqingyu985
Copy link
Author

wangqingyu985 commented Apr 11, 2023

333
Sure, let me see......
I do not have GPU on my computer, so I used the zed ros wrapper for CPU, the link is: https://github.com/willdzeng/zed_cpu_ros
For launching the ZED camera, I use zed_cpu_ros.launch

@saikishor
Copy link
Member

Hello @wangqingyu985,

I'm not sure about the issue here, but I think it is from the camera_info topic because that is what it uses to compute the transformation.

Thank you,

Best Regards,
PAL Robotics Team.

@wangqingyu985
Copy link
Author

It seems the hight and width are 0 in camera_info topic, what should I do to solve this problem?

@saikishor
Copy link
Member

Hello @wangqingyu985,

For using the aruco_ros, you need to have the intrinsics of your camera calibrated. I think you could fix it, by calibrating your camera. You can find some info here : http://wiki.ros.org/camera_calibration. Once you solve your issue, please respond here or close the issue.

Thank you,

Best Regards,
PAL Robotics Team.

@Yaoxingtian
Copy link

Hello @wangqingyu985,

For using the aruco_ros, you need to have the intrinsics of your camera calibrated. I think you could fix it, by calibrating your camera. You can find some info here : http://wiki.ros.org/camera_calibration. Once you solve your issue, please respond here or close the issue.

Thank you,

Best Regards, PAL Robotics Team.

i face the same problem, but i use a single camera which has been calibrated, could you pls. help me to use this code ? thanks much!

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