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

roslaunch laser_mapper kitti_loop_closure.launch but the log show an error.

asked 2017-08-01 08:38:31 -0600

nature1949 gravatar image

I have been learning segmatch lately,and I refer to a website :

when I run:

roslaunch laser_mapper kitti_loop_closure.launch

it can work but will show an error:

auto-starting new master process[master]: started with pid [3377] ROS_MASTER_URI=http://localhost:11311 setting /run_id to bfa6c998-76b9-11e7-ac3e-4d4164e69652 process[rosout-1]: started with pid [3390] started core service [/rosout] process[visualizer-2]: started with pid [3414] ERROR: cannot launch node of type [laser_mapper/laser_mapper_node]: can't locate node [laser_mapper_node] in package [laser_mapper] process[player-4]: started with pid [3415] Waiting 0.2 seconds after advertising topics... done. Hit space to toggle paused, or 's' to step. [RUNNING] Bag Time: 1317376766.767944 Duration: 287.535898 / 287.641810
Done. [player-4] process has finished cleanly log file: /home/wang/.ros/log/bfa6c998-76b9-11e7-ac3e-4d4164e69652/player-4.log [visualizer-2] process has finished cleanly log file: /home/wang/.ros/log/bfa6c998-76b9-11e7-ac3e-4d4164e69652/visualizer-2.log

When I open this directory but not find this file.This directory has:

master.log roslaunch-me-3365.log rosout-1-stdout.log rosout.log

In the master.log file,some of the errors are displayed

[rosmaster.threadpool][ERROR] 2017-08-01 21:09:51,029: Traceback (most recent call last): File "/opt/ros/indigo/lib/python2.7/dist-packages/rosmaster/", line 218, in run result = cmd(args) File "/opt/ros/indigo/lib/python2.7/dist-packages/rosmaster/", line 208, in publisher_update_task xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris) File "/usr/lib/python2.7/", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/", line 1587, in __request verbose=self.__verbose File "/usr/lib/python2.7/", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/", line 1306, in single_request return self.parse_response(response) File "/usr/lib/python2.7/", line 1482, in parse_response return u.close() File "/usr/lib/python2.7/", line 794, in close raise Fault(*self._stack[0]) Fault: <fault -1:="" 'publisherupdate:="" unknown="" method="" name'="">

what can I do?Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-08-02 07:58:18 -0600

naveedhd gravatar image

updated 2017-08-02 07:58:36 -0600

The error ERROR: cannot launch node of type [laser_mapper/laser_mapper_node]: can't locate node [laser_mapper_node] in package [laser_mapper]seems to be regarding build/finding the node laser_mapper_node. Make sure the package laser_mapper is built and sourced, and check if you can run rosrun laser_mapper laser_mapper_node

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-08-01 08:38:31 -0600

Seen: 162 times

Last updated: Aug 02 '17