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

hector slam error

asked 2015-08-13 00:14:15 -0500

mruniverse gravatar image

hi i am using ros indigo when i am running the hector slam -roslaunch hector_slam_launch tutorial.launch its is showing some error

ERROR: cannot launch node of type [hector_mapping/hector_mapping]: can't locate node [hector_mapping] in package    [hector_mapping]

ERROR: cannot launch node of type [hector_trajectory_server/hector_trajectory_server]: can't locate node [hector_trajectory_server] in package [hector_trajectory_server]

 ERROR: cannot launch node of type [hector_geotiff/geotiff_node]: can't locate node [geotiff_node] in package [hector_geotiff]

how do i fix this ?when i am running the code its showing that Ros is running in the rviz but no visualization is taking place i mean nothing is happening on rviz

edit retag flag offensive close merge delete

Comments

What does your launch file look like? Sounds like an environment or installation issue

Mark

MarkyMark2012 gravatar image MarkyMark2012  ( 2015-08-13 03:28:29 -0500 )edit
1

which launch file? r u talking abt rviz? pls see this ( http://pastebin.com/67E1XRxz )

mruniverse gravatar image mruniverse  ( 2015-08-13 04:18:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-08-13 07:07:33 -0500

This definitely looks like a workspace setup issue. The packages hector_mapping, hector_trajectory_server and hector_geotiff cannot be found by ROS's package utilities. You can verify this by trying

roscd hector_mapping

This command will very likely also fail. You'll have to make sure all packages can be found and are in one of the subfolders specified by the ROS_PACKAGE_PATHenvironment variable.

edit flag offensive delete link more

Comments

1

hi stefan I actually downloaded the source code from github and then copy pasted it in src folder of my ros wrkspace.Maybe thats the reason its not wrking. Shud i try this then sudo apt-get install ros-indigo-hector-slam

mruniverse gravatar image mruniverse  ( 2015-08-13 07:59:56 -0500 )edit

That definitely is the easier option (and should be working).

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2015-08-14 04:23:16 -0500 )edit
1

hi stefan though it wrked but still the map is not running on rviz the global frames option is showing error frames doesnot exixt etc some tf problem the map is running but there is no visualization

mruniverse gravatar image mruniverse  ( 2015-08-14 08:30:37 -0500 )edit

did you fix this? Im trying to run RPLidar view_slam.launch installed from github source and it couldn't find the package. Hector slam installed with apt-get

julimen5 gravatar image julimen5  ( 2018-01-18 13:59:13 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2015-08-13 00:14:15 -0500

Seen: 4,388 times

Last updated: Aug 13 '15