ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

roslaunch: RLException: Invalid roslaunch XML syntax: mismatched tag

asked 2021-08-22 05:58:51 -0600

karthik301634 gravatar image

updated 2022-05-01 13:16:13 -0600

lucasw gravatar image


RLException: Invalid roslaunch XML syntax: mismatched tag: line 19, column 2 The traceback for the exception was written to the log file

launch file:


    <node name="map_server" pkg="map_server" type="map_server" args="/Desktop/maps/designroom.yaml" output="screen"/>

    <include file="/home/catkin_ws1/src/rplidar_ros/launch/rplidar.launch">

   <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
    <rosparam file="/home/catkin_ws2/src/turtlebot3/turtlebot3_navigation/param/costmap_common_params.yaml" command="load" ns="global_costmap" />
    <rosparam file="/home/catkin_ws2/src/turtlebot3/turtlebot3_navigation/param/costmap_common_params.yaml" command="load" ns="local_costmap" />
    <rosparam file="/home/catkin_ws2/src/turtlebot3/turtlebot3_navigation/param/local_costmap_common_params.yaml" command="load" />
    <rosparam file="/home/catkin_ws2/src/turtlebot3/turtlebot3_navigation/param/global_costmap_common_params.yaml" command="load" />
    <rosparam file="/home/catkin_ws2/src/turtlebot3/turtlebot3_navigation/param/base_local_planner_params.yaml" command="load" />
    <include file="/home/catkin_ws2/src/turtlebot3/turtlebot3_navigation/launch/amcl.launch" ></include>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-08-22 07:09:55 -0600

gvdhoorn gravatar image

You haven't closed the include tag after your first node:

<include file="/home/catkin_ws1/src/rplidar_ros/launch/rplidar.launch">

note the >, but no </include>, or alternatively: />.

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


Asked: 2021-08-22 05:58:51 -0600

Seen: 396 times

Last updated: May 01