packagerosdji-sdklaunching

Invalid roslaunch XML syntax: not well-formed dji package


When i try to launch the package by typing

roslaunch dji_sdk sdk.launch

where the launch file content :

launch>
    <node pkg="dji_sdk" type="dji_sdk_node" name="dji_sdk" output="screen">
    <!-- node parameters -->
    <param name="serial_name" type="string" value="/dev/ttyTHS0"/>
    <param name="baud_rate" type="int" value="921600"/>
    <param name="app_id" type="int" value="1079440"/>
    <param name="app_version" type="int" value="1"/>
    <param name="align_time" type="bool" value="false"/>
    <param name="enc_key" type="string" value="39d353a8e9ad01b6c659111904bae57ebb138785aa5159699383f28da3f56563"/>
    <param name="use_broadcast" type="bool" value="false"/>
    </node>
</launch>

it gives me this error :

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

Solution

  • the error here was because of missing < in the first line.