Robotics StackExchange | Archived questions

error invalid roslaunch xml syntax

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

Asked by omkar on 2019-11-14 05:16:57 UTC

Comments

Answers

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)

Asked by Martin Günther on 2019-11-14 05:35:06 UTC

Comments