Invalid <param> tag: Cannot load command parameter

asked 2023-05-10 10:03:30 -0500

I am using ubuntu 20.04 and ros-noetic. I tried to run "roslaunch ur_moveit_config demo_gazebo.launch", but get such error.

No such file or directory: /home/jensen/ur5_ws/src/franka_ros/franka_gazebo/robots/sensor/kinect_v2.urdf.xacro [Errno 2] No such file or directory: '/home/jensen/ur5_ws/src/franka_ros/franka_gazebo/robots/sensor/kinect_v2.urdf.xacro'

when processing file: /home/jensen/ur5_ws/src/kinectv2_ur5/src/ur5/ur5_description/urdf/ur5_robotiq85_gripper.urdf.xacro

RLException: while processing /home/jensen/ur5_ws/src/kinectv2_ur5/src/ur_moveit_config/launch/gazebo.launch: while processing /home/jensen/ur5_ws/src/kinectv2_ur5/src/ur_moveit_config/launch/ur5_setup.launch: Invalid tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '/home/jensen/ur5_ws/src/kinectv2_ur5/src/ur5/ur5_description/urdf/ur5_robotiq85_gripper.urdf.xacro']] returned with code [2].

Param xml is The traceback for the exception was written to the log file

I tried the solutions in other answers but didn't fix my problem. Any helps are appreciated!

edit retag flag offensive close merge delete