roslaunch px4 multi_uav_mavros_sitl_sdf.launch报错
Posted pig-fly
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了roslaunch px4 multi_uav_mavros_sitl_sdf.launch报错相关的知识,希望对你有一定的参考价值。
在试图运行multi_uav_mavros_sitl_sdf.launch时报错:
while processing /home/sp/src/Firmware/launch/single_vehicle_spawn_sdf.launch:
Invalid <param> tag: Cannot load command parameter [model_description]: no such command [xmlstarlet ed -d ‘//plugin[@name="mavlink_interface"]/mavlink_tcp_port‘ -s ‘//plugin[@name="mavlink_interface"]‘ -t elem -n mavlink_tcp_port -v 4560 /home/sp/src/Firmware/Tools/sitl_gazebo/models/plane/plane.sdf].
Param xml is <param command="$(arg cmd)" name="model_description"/>
The traceback for the exception was written to the log file
其实本来是很简单的错误,就是没想明白: no such command
就是没有安装xmlstarlet,sudo apt install xmlstarlet 就好了
以上是关于roslaunch px4 multi_uav_mavros_sitl_sdf.launch报错的主要内容,如果未能解决你的问题,请参考以下文章