introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
981 stars 557 forks source link

Docker "issue" #588

Open Mikor-mkr opened 3 years ago

Mikor-mkr commented 3 years ago

Hi Mathieu, I am completely unfamiliar with docker but I am interested in getting to know it. I used this dockerfile but I cant seem to be able to launch rtab, I used this to launch it. sudo docker run -it --rm --env ROS_MASTER_URI=http://172.17.0.1:11311 --env ROS_IP=172.17.0.2 -v ~/.ros:/root introlab3it/rtabmap:bionic roslaunch rtabmap_ros rtabmap.launch rtabmapviz:=false database_path:=/root/rtabmap.db rtabmap_args:="--delete_db_on_start" based on another example, but I get this error.

RLException: [rtabmap.launch] is neither a launch file in package [rtabmap_ros] nor is [rtabmap_ros] a launch file name
The traceback for the exception was written to the log file

Any ideas?

matlabbe commented 3 years ago

Hi, You are trying to start rtabmap_ros from rtabmap standalone images. Try replacing introlab3it/rtabmap:bionic by introlab3it/rtabmap_ros:melodic. See also https://github.com/introlab/rtabmap_ros/tree/master/docker