无效的 roslaunch XML 语法:格式不正确的 dji 包
Invalid roslaunch XML syntax: not well-formed dji package
当我尝试通过键入
来启动程序包时
roslaunch dji_sdk sdk.launch
启动文件内容所在:
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>
它给我这个错误:
Invalid roslaunch XML syntax: syntax error: line 1, column 0
The traceback for the exception was written to the log file
此处的错误是因为第一行缺少 <。
当我尝试通过键入
来启动程序包时roslaunch dji_sdk sdk.launch
启动文件内容所在:
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>
它给我这个错误:
Invalid roslaunch XML syntax: syntax error: line 1, column 0
The traceback for the exception was written to the log file
此处的错误是因为第一行缺少 <。