ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

error invalid roslaunch xml syntax

asked 2019-11-14 04:16:57 -0600

omkar gravatar image

updated 2019-11-14 04:34:04 -0600

launch file:

<launch>
    <node pkg = "hello_ros" type = "talker.py" name = "talker"/>
    <node pkg = "hello_ros" type = "listener.py" name = "listener" output = "screen"/>
        <remap to = "chatter" from ="singing"/>
    </node>
</launch>

output: Invalid roslaunch XML syntax: mismatched tag: line 9, column 6 The traceback for the exception was written to the log file

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-11-14 04:35:06 -0600

The following line is wrong:

    <node pkg = "hello_ros" type = "listener.py" name = "listener" output = "screen"/>

It should be:

    <node pkg = "hello_ros" type = "listener.py" name = "listener" output = "screen">

(note the extra / in your line)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-11-14 04:16:57 -0600

Seen: 793 times

Last updated: Nov 14 '19