Ask Your Question
0

HectorSLAM implementation on Melodic

asked 2020-03-11 10:38:48 -0500

Nosnik gravatar image

Hi I am semi-new to ROS and am trying to run the tutorial.launch file in hectorSLAM and I’ve hit a roadblock and keep getting an error when I try to run the tutorial.launch.

I cloned HectorSLAM for melodic from https://github.com/tu-darmstadt-ros-p...

I am running Ubuntu 18.04.4 and ROS melodic.

The launch file is located in ~/a_ws/src/hector_slam/hector_slam_launch/launch and I run:

administrator@administrator-OptiPlex-3010:~/a_ws/src/hector_slam/hector_slam_launch/launch$ roslaunch tutorial.launch

I then get the following error:

RLException: Invalid <arg> tag: hector_geotiff 
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/administrator/a_ws/src
ROS path [2]=/opt/ros/melodic/share
Argxml is <arg default="$(find hector_geotiff)/maps" name="geotiff_map_file_path"/>
The traceback for the exception was written to the log file

I have tried to launch the file multiple times and sometimes I get the error:

RLException: Invalid <arg> tag: hector_geotiff 
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/opt/ros/melodic/share
Argxml is <arg default="$(find hector_geotiff)/maps" name="geotiff_map_file_path"/>
The traceback for the exception was written to the log file

I have set roscd as ~a_ws/devel and the HectorSLAM package has the hector_geotiff package in it

any help fixing this error would be greatly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-04-16 05:24:37 -0500

tp_ink gravatar image

Have you installed hector_geotiff with sudo apt-get install ros-melodic-hector-geotiff? Do you have this folder: /opt/ros/melodic/share/hector_geotiff if you have already installed? Have you tried to launch without changing roscd from ~ just typing roslaunch hector_slam_launch tutorial.launch?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-03-11 10:38:48 -0500

Seen: 715 times

Last updated: Mar 11 '20