ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

i can't launch karto_slam on ros indigo [closed]

asked 2015-06-18 06:57:09 -0600

jacobsolid gravatar image

updated 2015-06-18 06:57:41 -0600

Hello all,

I installed karto_slam by sudo apt-get install ros-indigo-slam-karto but i could not launch it! My launch file is

  <node pkg="slam_karto" type="slam_karto" name="slam_karto" >
<!--remap from="scan" to="base_scan"/>
<param name="odom_frame" value="odom_combined"/>
<param name="map_update_interval" value="25"/>
<param name="resolution" value="0.025"/-->

the out put on the screen is:

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >' what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument process[rviz-3]: started with pid [3776] [slam_karto-2] process has died [pid 3732, exit code -6, cmd /opt/ros/indigo/lib/slam_karto/slam_karto scan:=base_scan __name:=slam_karto __log:=/home/z/.ros/log/5d21dfba-15ae-11e5-ada1-b8ee65bb0a99/slam_karto-2.log]. log file: /home/z/.ros/log/5d21dfba-15ae-11e5-ada1-b8ee65bb0a99/slam_karto-2*.log

However the log file is empty! any one face the same problem? It seems somethings with boost version! if yes so how i can resolve it? Than you in advance

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by 130s
close date 2016-03-18 00:18:58.103041

3 Answers

Sort by » oldest newest most voted

answered 2015-06-29 20:00:42 -0600

luc gravatar image

You might be missing a /> at the end of your node tag.

edit flag offensive delete link more


@jacobsolid did this help?

luc gravatar image luc  ( 2015-07-08 12:55:56 -0600 )edit

answered 2015-09-25 05:08:20 -0600

jacobsolid gravatar image

Thank you very much for help, I install it from source and now it is working well, cheers,

edit flag offensive delete link more


But how to install it from source? I download the slam_karto package in the catkin_ws/src, but failed to catkin_make this package.

张京林 gravatar image 张京林  ( 2015-12-16 01:12:44 -0600 )edit

@张京林 sudo apt-get install ros-indigo-slam-karto you can install it this way, but please let me know if it runs without a problem for you. i get a memory corruption error.

stevej_80 gravatar image stevej_80  ( 2016-03-06 03:30:12 -0600 )edit

answered 2015-12-23 02:43:33 -0600

张京林 gravatar image

I install it from source too, but did you get the /map topic? I have published the /scan and /tf topic but the /map topic is blank.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-18 06:57:09 -0600

Seen: 583 times

Last updated: Dec 23 '15