ur5_ROS-Gazebo icon indicating copy to clipboard operation
ur5_ROS-Gazebo copied to clipboard

Missing 'common.gazebo.xacro' file from description/urdf folder.

Open ChristosPeridis opened this issue 1 year ago • 1 comments

Hello,

I hope you and everyone in your family are doing great. I have followed the installation instructions to setup the workspace for this repository, however I was encountered with the following error when attempting to launch the file of the simulation:

no such file or directory: /home/cocp5/catkin_ws/src/universal_robot/ur_description/urdf/common.gazebo.xacro [Errno 2] No such file or directory: '/home/cocp5/catkin_ws/src/universal_robot/ur_description/urdf/common.gazebo.xacro

Further to that I also received the following message:

o such file or directory: /home/cocp5/catkin_ws/src/universal_robot/ur_description/urdf/common.gazebo.xacro [Errno 2] No such file or directory: '/home/cocp5/catkin_ws/src/universal_robot/ur_description/urdf/common.gazebo.xacro

In order to resolve this I renamed the ur.xacro file in the descriptio/urdf folder to have the same name as the one it was not able to find based on the error, however that did not work either since I receivd then the following error:

o such file or directory: /home/cocp5/catkin_ws/src/universal_robot/ur_description/urdf/common.gazebo.xacro [Errno 2] No such file or directory: '/home/cocp5/catkin_ws/src/universal_robot/ur_description/urdf/common.gazebo.xacro

Could you please help me debug this?

Thank you in advance for all your valuable help and support!

Kind reagards,

Christos Peridis

ChristosPeridis avatar Jun 05 '23 10:06 ChristosPeridis

Hi @ChristosPeridis :wave:, according to README this project was tested with ROS Kinetic. When cloning universal_robot repository, you must specify that you want to clone kinetic-devel branch. That's why in README this command is given: git clone -b kinetic-devel https://github.com/ros-industrial/universal_robot.git.

On kinetic-devel branch there is an common.gazebo.xacro file, and on the default melodic-devel branch it is no longer there:

So I recommend you to check if you cloned the correct branch. :wink:

jkaniuka avatar Jul 17 '23 23:07 jkaniuka