stereolabs / zed-ros-examples

Examples for the ZED SDK ROS wrapper
https://www.stereolabs.com/docs/ros/
MIT License
85 stars 51 forks source link

ZED2 is not capable to track AR tags with zed_ar_track_alvar #13

Closed LucaRoma97 closed 4 years ago

LucaRoma97 commented 4 years ago

Hi everyone! I'm working on my thesis about an autonomous charging system. I bought a ZED2 camera and a Jetson Nano. After having installed the SDK of the ZED and ROS (Melodic version), I cloned both the zed-ros-examples () and zed-ros-wrapper (.) I also change the zed_wrapper .launch file inside the zed_ar_track_alvar.launch (zed2.launch in place of zed_camera.launch). But when I try to launch the zed_ar_track_alvar.launch, the Rviz visualizations show me warnings and errors and I can't see the output of the camera. first_rvizz If I try to visualize the _rqtgraph: rqt_graph1 Then, I tried to change the Image Topic of Left Image, Left Camera and Tags ,as shown below: second_rvizz Now I can visualize the output of the camera, but it is not yet capable to track the ar codes and the rqt_graph now is the following: rqt_graph2 It seems that the node zed_ar_track_alvar doesn't communicate with the camera ones. I tried to change several names to the topics without any results. Someone has some advices for tracking the ar tags? Thank you in advance.

LucaRoma97 commented 4 years ago

I've just fixed the Camera model error, but it still doesn't work.

ArghyaChatterjee commented 4 years ago

@LucaRoma97 how have you fixed the camera model error?

Myzhar commented 4 years ago

Fixed with https://github.com/stereolabs/zed-ros-examples/commit/0e924d870e73ef778e73afa948e3c56f87cb84ab