Jaeyoung-Lim / mavros_controllers

Aggressive trajectory tracking using mavros for PX4 enabled vehicles
BSD 3-Clause "New" or "Revised" License
400 stars 164 forks source link

Unable to run sitl_multi_vehicle_track_circle.launch #202

Closed adbidwai closed 2 years ago

adbidwai commented 2 years ago

System Configurations

OS: Ubuntu 18.04 ROS Distro: Melodic

Error

adbidwai@adbidwai-G3-3579  ~/sop_ws/src/PX4-Autopilot  ➦ 00f86eb895 ±  roslaunch geometric_controller sitl_multi_vehicle_track_circle.launch
... logging to /home/adbidwai/.ros/log/041d2f82-63b3-11ec-84f6-2016b98536e4/roslaunch-adbidwai-G3-3579-28096.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: while processing /home/adbidwai/sop_ws/src/PX4-Autopilot/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/adbidwai/sop_ws/src/PX4-Autopilot/Tools/sitl_gazebo/models/iris/iris.sdf']]. 

Param xml is <param command="$(arg cmd)" name="model_description"/>
The traceback for the exception was written to the log file

image

Jaeyoung-Lim commented 2 years ago

Instructions on how to install xmlstarlet is in https://docs.px4.io/master/en/simulation/multi_vehicle_simulation_gazebo.html