I have encountered the following message
RLException: while processing /home/xv/xplane_ros_ws/src/rosplane/rosplane_sim/launch/spawn_mav.launch: Invalid <param> tag: Cannot load command parameter [robot_description]: no such command [['/opt/ros/noetic/share/xacro/xacro.py', '/home/xv/xplane_ros_ws/src/rosplane/rosplane_sim/xacro/fixedwing.xacro', 'mav_name:=fixedwing', 'gazebo_namespace:=/gazebo', 'robot_namespace:=/']]. Param xml is <param name="robot_description" command=" $(find xacro)/xacro.py '$(arg model)' mav_name:=$(arg mav_name) gazebo_namespace:=$(arg gazebo_namespace)/gazebo robot_namespace:=$(arg robot_namespace)"/> The traceback for the exception was written to the log file
after running the command roslaunch rosplane_sim fixedwing.launch. Any idea what is causing the problem?
I found out the problem. I am using noetic and xacro.py has depreciated. Change $(find xacro)/xacro.py to $(find xacro)/xacro in the launch file solve the issue.
Hello,
I have encountered the following message
RLException: while processing /home/xv/xplane_ros_ws/src/rosplane/rosplane_sim/launch/spawn_mav.launch: Invalid <param> tag: Cannot load command parameter [robot_description]: no such command [['/opt/ros/noetic/share/xacro/xacro.py', '/home/xv/xplane_ros_ws/src/rosplane/rosplane_sim/xacro/fixedwing.xacro', 'mav_name:=fixedwing', 'gazebo_namespace:=/gazebo', 'robot_namespace:=/']]. Param xml is <param name="robot_description" command=" $(find xacro)/xacro.py '$(arg model)' mav_name:=$(arg mav_name) gazebo_namespace:=$(arg gazebo_namespace)/gazebo robot_namespace:=$(arg robot_namespace)"/> The traceback for the exception was written to the log file
after running the command
roslaunch rosplane_sim fixedwing.launch
. Any idea what is causing the problem?