Invalid roslaunch XML syntax: no root <launch> tag
I am quite new to ROS. I would like to what I should do? I have a capstonerobot.urdf file and a capstonerobot.launch file
**My Error
... logging to /home/ishira/.ros/log/ed78a238-0df0-11e7-ba77-645a04940732/roslaunch-ishira-Inspiron-3521-7754.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
Invalid roslaunch XML syntax: no root <launch> tag
The traceback for the exception was written to the log file**
**My launch file
<launch>
<!-- Load the capstonerobot URDF model into the parameter server -->
<param name="robot_description" textfile="$(find capstonerobot)/capstonerobot.urdf" />
<!-- Start Gazebo with an empty world -->
<include file="$(find gazebo_ros)/launch/empty_world.launch"/>
<!-- Spawn a capstonerobot in Gazebo, taking the description from the
parameter server -->
<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model"
args="-param robot_description -urdf -model capstonerobot" />
</launch>
Please use the
preformatted text
button to format your error message and your launch file. As it is now it's quite difficult to read.while it's works for me, maybe you should check
empty_world.launch
or you should just get a new launch file and retype it.