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

[BUG] 3D Map frozen when using zed_rtabmap.launch #36

Closed joseandres94 closed 2 years ago

joseandres94 commented 3 years ago

Describe the bug When I run roslaunch zed_rtabmap_example zed_rtabmap.launch, the windows "zed-rtabmap.rviz" and "RTAB-Map" open. My problem comes with the "3D Map" display in "RTAB-Map*" window, which is frozen and I can't make it work. Also the "Odometry" display, which doesn't show anything, it keeps in gray.

Could you please tell me what is happening and how could I fix it?

Device information:

Screenshots Foto el 22-7-21 a las 11 11

Myzhar commented 3 years ago

Hi @joseandres15 have you tried to run it on a desktop PC? I just tried and everything works as expected. I suppose instead that the Nvidia Xavier AGX, even if it is very powerful, it is not powerful enough to handle simultaneously the RTABMAP processing, the Rviz displaying, and the RTABmap GUI displaying causing a freeze while visualizing the point cloud that is the information that requires the most of the processing.

joseandres94 commented 3 years ago

Hi @Myzhar,

No, I haven't tried it because I don't have a desktop PC right now.

My goal is to put the camera and the Jetson in a robot, in order it could scan and map the environment, am I able to do it with the jetson? Is there any other way to achieve this? Some way to do the rtabmapping in the Jetson Xavier?

Thank you.

Myzhar commented 3 years ago

The Xavier AGX is powerful enough to handle the mapping process without any kind of issue. You must instead run the GUIs to visualize the results on a remote computer to not waste resources for displaying.

joseandres94 commented 3 years ago

Okey, I will try it.

Thank you.

joseandres94 commented 3 years ago

Hi! I have a question, maybe a stupid question, but I need to know it.

Is there any possibility to develop this task in a Mac OS computer? I thought ZED SDK is only for Windows or Ubuntu, but I have seen this guy obtaining a point cloud with ZED in a Mac OS computer (as I can see in the images) and it would be really useful for me.

Link: https://neilnie.com/2019/04/03/road-detection-with-point-cloud-library-and-zed-stereoscopic-vision-system/

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days