stereolabs / zed-ros-wrapper

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

URDF Model of ZED Camera not displayed in rviz #460

Closed mtbsteve closed 4 years ago

mtbsteve commented 5 years ago

I have the ZED ROS Wrapper installed on ROS melodic and Ubuntu 18.04. Everything works fine as I can see, however I am unable to display the URDF model of the ZED camera in the rviz viewer. When I launch rviz with: roslaunch zed_display_rviz display_zed.launch the camera model shows up in the righthand rviz window for a split second and disappears when the axes are displayed. The models are correctly installed under /home/.../ws/src/zed-ros-wrapper/zed_wrapper/urdf Any idea?

Myzhar commented 5 years ago

Hi @mtbsteve if you are using a ZED camera (not ZED Mini) this is strange since it works with no problems with us. Have you modified any paramter in the YAML files or in the URDF description?

If you are instead using a ZED Mini camera you must call the other launch file: roslaunch zed_display_rviz display_zedm.launch

mtbsteve commented 5 years ago

thanks for getting back to me. I am using the ZED, not the mini camera. I have not modified any parameters in the YAML files nor in the URDF description. There are no error messages when I run rviz, and I couldn’t spot any errors in the log files. All examples as far as I tested them in the Stereolabs ROS tutorials seem to work. However I do experience some not consistently reproducible crashes of rviz from time to time when I add and remove ZED plugins.