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

How to adapt an old PKG, driver and ROS wrapper to a new ROS distribution?

asked 2018-07-01 12:09:52 -0600

A.M Dynamics gravatar image

updated 2018-07-01 13:03:07 -0600

Hello,

I have a Kuka youbot robot. The last updated version (by source) of the driver and ROS wrapper for this robot is Hydro. The most stable version of ROS is Kinetic. My question clearly is how I adapt the both hydro driver and ROS wrapper of this robot to Kinetic distribution? Is there any documentation for this purpose? I can not find any. Do I need to change CMakeLists.txt file? I would appreciate it if you help me out.

Sincerely,

edit retag flag offensive close merge delete

Comments

If you provide a link to the package, we can have a look and see how much work is likely to be necessary.

Geoff gravatar image Geoff  ( 2018-07-01 16:42:15 -0600 )edit

@Geoff These are links to Youbot driver and its ROS wrapper. Thanks... git clone http://github.com/youbot/youbot_drive... -b hydro-devel git clone http://github.com/youbot/youbot_drive... -b hydro-devel

A.M Dynamics gravatar image A.M Dynamics  ( 2018-07-01 22:45:29 -0600 )edit

Latest stable ROS version is Melodic, not Kinetic

VictorLamoine gravatar image VictorLamoine  ( 2018-07-02 02:54:36 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-01 16:44:53 -0600

Geoff gravatar image

How much adaptation is needed depends on how many of the ROS APIs that package uses that have changed since Hydro.

If the package is still using rosbuild, you will need to change it to use catkin instead. This will include changing the manifest.xml file to a package.xml file, which includes changing the content a little.

After that, just start compiling it and fix any errors that arise. You probably won't have that many and they are not likely to be difficult to fix for the ROS API errors. Most problems will probably be in using other ROS packages depended on by your package.

edit flag offensive delete link more

Comments

Question Tools

2 followers

Stats

Asked: 2018-07-01 12:09:52 -0600

Seen: 274 times

Last updated: Jul 01 '18