ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Alternative to ur_description on ros-melodic?

asked 2019-03-05 15:04:30 -0500

sushil.sundaram gravatar image

updated 2019-03-06 09:20:13 -0500

gvdhoorn gravatar image

Hey,

I am running ubuntu 18.04 with ros-melodic When I am trying to run an old code I get an error saying ur_description was not found. when I went to the documentation on roswiki I think that ur_description was available only till ros-kinetic.

So is there any alternative that will work the same in ros-melodic?

sushilsundaram@cmu:~/Documents/ros_course/hrwros_ws/src/hrwros_support/urdf$ rosrun xacro xacro hrwros.xacro > hrwros.urdf 
resource not found: ur_description
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/sushilsundaram/Documents/ros_course/hrwros_ws/src/hrwros/hrwros_msgs
ROS path [2]=/home/sushilsundaram/Documents/ros_course/hrwros_ws/src/hrwros_support
ROS path [3]=/home/sushilsundaram/Documents/ros_course/hrwros_ws/src/hrwros/hrwros_utilities
ROS path [4]=/home/sushilsundaram/Documents/ros_course/hrwros_ws/src/hrwros/hrwros_week1
ROS path [5]=/home/sushilsundaram/Documents/ros_course/hrwros_ws/src/hrwros_week2
ROS path [6]=/home/sushilsundaram/Documents/ros_course/hrwros_ws/src/urdf_tutorial
ROS path [7]=/opt/ros/melodic/share

Edit: Hey, Thanks for the reply and the help.

sushilsundaram@cmu:~/Documents/ros_course/hrwros_ws/src/hrwros_support/urdf$ rosdep check -i --from-paths $HOME/Documents/ros_course/hrwros_ws/src
All system dependencies have been satisfied
ERROR[hrwros_support]: Cannot locate rosdep definition for [turtlebot_description]
    rosdep key : turtlebot_description
    OS name    : ubuntu
    OS version : bionic
    Data: <no data>
edit retag flag offensive close merge delete

Comments

Please don't post updates as answers. They're not answers.

Edit your original question text.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-06 09:20:38 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2019-03-05 15:27:46 -0500

gvdhoorn gravatar image

updated 2019-03-06 09:24:40 -0500

So is there any alternative that will work the same in ros-melodic?

You can still build universal_robot on Melodic in a Catkin workspace.

See #q252478 for the general procedure (but of course use melodic instead of kinetic).


Edit:

sushilsundaram@cmu:~/Documents/ros_course/hrwros_ws/src/hrwros_support/urdf$ rosdep check -i --from-paths $HOME/Documents/ros_course/hrwros_ws/src
All system dependencies have been satisfied
ERROR[hrwros_support]: Cannot locate rosdep definition for [turtlebot_description]
    rosdep key : turtlebot_description
    OS name    : ubuntu
    OS version : bionic
    Data: <no data>

This would seem to be only one dependency (instead of "far too many").

The problem here is that hrwros_support depends on turtlebot_description which hasn't been released into Melodic yet.

It has only very few dependencies (looking at the wiki page), so you could try adding turtlebot_description (together with its dependencies) in your workspace and fulfill the dependency requirements that way.

Do note though: as far as I know, the packages in HRWROS were specifically created for Kinetic, so the problems that you're running into getting this to work on Melodic are somewhat expected. There is also no guarantee that after you get your workspace to build, the whole setup will actually work.

edit flag offensive delete link more

Comments

Hey Thanks for the reply. The issue with this method is there are far too many dependencies that haven't been ported. If there is no other alternative then I'll just have to do it this way.

sushil.sundaram gravatar image sushil.sundaram  ( 2019-03-05 15:45:56 -0500 )edit

Your comment surprises me, because I build the entire set of universal_robot packages on Melodic just about every week.

If you can show what the output of

rosdep check -i --from-paths $HOME/Documents/ros_course/hrwros_ws/src

is, perhaps we can see what the problem is.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-06 01:13:10 -0500 )edit
1

I just figured out that it wasn't the problem with the universal_robot clone having issues it was a problem with my urdf needing more dependencies. Thanks a lot for all the help.

sushil.sundaram gravatar image sushil.sundaram  ( 2019-03-06 09:26:53 -0500 )edit

What dependencies were you missing? Can you elaborate on how you solved your issue?

tropic gravatar image tropic  ( 2020-02-20 17:06:46 -0500 )edit
0

answered 2020-11-25 09:45:39 -0500

Santosh gravatar image

Hello Suchi Sundaram!, I also came across the same problem while using hrwros packages. I found the solution to run this package in melodic. I tested and ran in melodic ros version.

Basically, hrwros packages are using Universal Robot's model in their simulation. Follow this link, https://github.com/ros-industrial/uni...

You have to source install package as instructed in above link, but you will see this error

hrwros_support: Cannot locate rosdep definition for [turtlebot_description]

This error simply implies that in folder there is no package of turtlebot. So you need to once again source this package in your workspace folder as you did for universal robot above. For that follow this code

cd hrwros_ws/src
git clone -b melodic https://github.com/turtlebot/turtlebot.git
cd ..
catkin_make

If you get invoke with 'cmake' failed, for package configuration "joy" Follow this command to solve

sudo apt-get install ros-melodic-joy*

After following this steps. Run your script command, and it would successfull launch.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-03-05 15:04:30 -0500

Seen: 1,258 times

Last updated: Nov 25 '20