error when running hector slam tutorial.launch file

asked 2021-11-24 20:23:55 -0500

bribri123 gravatar image

updated 2021-11-25 06:27:40 -0500

osilva gravatar image

Error message:

ERROR: cannot launch node of type [hector_mapping/hector_mapping]: Cannot locate node of type [hector_mapping] in package [hector_mapping]. Make sure file exists in package path and permission is set to executable (chmod +x)
                process[base_to_laser_broadcaster-3]: started with pid [25073]
                ERROR: cannot launch node of type [hector_trajectory_server/hector_trajectory_server]: Cannot locate node of type [hector_trajectory_server] in package [hector_trajectory_server]. Make sure file exists in package path and permission is set to executable (chmod +x)
                ERROR: cannot launch node of type [hector_geotiff/geotiff_node]: Cannot locate node of type [geotiff_node] in package [hector_geotiff]. Make sure file exists in package path and permission is set to executable (chmod +x)

When I tried to launch the hector slam tutorial launch file I got an error so I tried to go inside the hector_slam package and change some nodes to executables like the error message suggested I tried looking for for the hector_mapping node inside the hector_mapping package but i could not find it in the src folder but for the other two packages I could find the node in the src folder so I made them executable by using the command chmod +x ~~~~~~ so then I tried running the launch file again and i noticed I got the same error I can't really find anything so i was wondering if i could get some help thank you

edit retag flag offensive close merge delete

Comments

Hi @bribri123 looks it's a sourcing issue with hector mapping installation. Try sudo apt install ros-noetic-hector-mapping

osilva gravatar image osilva  ( 2021-11-25 06:36:32 -0500 )edit