简体   繁体   中英

ROS Kinetic - Error running launch file with roslaunch

I ran into this error when running a launch file called turtlemimic.launch

This is the error I received when attempting to run the file in the terminal:

Invalid roslaunch XML syntax: syntax error: line 1, column 3 The traceback for the exception was written to the log file

This is the XML code for the launch file:

       1 <launch>
       2 
       3   <group ns="turtlesim1">
       4     <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
       5   </group>
       6 
       7   <group ns="turtlesim2">
       8     <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
       9   </group>
      10 
      11   <node pkg="turtlesim" name="mimic" type="mimic">
      12     <remap from="input" to="turtlesim1/turtle1"/>
      13     <remap from="output" to="turtlesim2/turtle1"/>
      14   </node>
      15 
      16 </launch>

Any advice on how to fix this issue would be greatly appreciated. Thanks!

这是 ROS 答案中另一个问题的重复问题,请参见此处: https : //answers.ros.org/question/235053/why-cant-i-roslaunch/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM