RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: no such command [['/opt/ros/noetic/share/xacro/xacro.-i', '/home/robot/catkin_ws/src/mastering_ros_robot_description_pkg/urdf/pan_tilt.xacro']].
Param xml is <param name="robot_description" command="$(find xacro)/xacro.-i $(find mastering_ros_robot_description_pkg)/urdf/pan_tilt.xacro"/>
The traceback for the exception was written to the log file
ros在运行xacro机械臂的.launch文件报错。
Ubantu:20.04
解决办法如下:
将,py删除,即可解决。