Jaeyoung-Lim / mavros_humantracking

Offboard gimbal control for PX4 enabled vehicles using MAVROS
BSD 3-Clause "New" or "Revised" License
35 stars 17 forks source link

Multi Vehicle Simulation gives error #16

Open pravardhanreddy opened 2 years ago

pravardhanreddy commented 2 years ago

Hello I am getting the following error when I run roslaunch humantracking_controller multi_sitl_humantrack_circle.launch

RLException: while processing /home/pravardhan/px4/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/pravardhan/px4/PX4-Autopilot/Tools/sitl_gazebo/models/typhoon_h480/typhoon_h480.sdf']]. 

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

This is with the latest PX4-Autopilot

ParamDeshpande commented 1 year ago

facing the same issue here ( testing on PX4 version - v1.13.3), @Jaeyoung-Lim what version of PX4 was this compatible with ?

ParamDeshpande commented 1 year ago

@pravardhanreddy try adding export GAZEBO_RESOURCE_PATH=/usr/share/gazebo-11.13.0 and source /usr/share/gazebo-11/setup.bash to ~/.bashrc.