Ask Your Question
0

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

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

jacobsolid gravatar image

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

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
2

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

luc gravatar image

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

edit flag offensive delete link more

Comments

@jacobsolid did this help?

luc gravatar imageluc ( 2015-07-08 12:55:56 -0500 )edit
0

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

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

Comments

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 -0500 )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 imagestevej_80 ( 2016-03-06 03:30:12 -0500 )edit
0

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

张京林 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

Stats

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

Seen: 456 times

Last updated: Dec 23 '15