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

Installing/using ROSJava with catkin

asked 2013-08-27 08:32:22 -0600

sungod gravatar image

I've been trying to install and use the Groovy version of ROS with ROSJava (on Ubuntu). This latest version of ROS uses the catkin directory structure and has documentation to support that. Following the ROSJava instructions leads back to doing things with roscreate-pkg (instead of catkin_create_pkg). It isn't apparent how gradle fits in with the catkin structure. The most I've seen looking around for answers is someone mentioning it has been "catkinized" now.

Has anyone put together something straightforward for generating/compiling ROSJava packages with the catkin setup? Is there anything special that needs to be upgraded for this (just grabbed the latest version recently)?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-08-27 09:34:08 -0600

velveteenrobot gravatar image

The Hydro instructions for using the latest ROSjava are pretty good. This should give you a good starting point. Unless you have strong objections, I would recommend using Hydro. The Groovy version may also work but they are not up to date. I haven't used them for a month or so.

You can also use the Getting Started with ROSjava instructions if you just want to quickly get started with running Android apps for ROS without making changes to the underlying libraries. These instructions do not require you to use catkin at all as you build everything through Android Studio and the libraries are pulled from Maven repos.

edit flag offensive delete link more

Comments

2

I strongly recommend using Hydro for this. You will only really see issues if the messages changed between Groovy and Hydro (and there were few or no cases like this).

Chad Rockey gravatar image Chad Rockey  ( 2013-08-27 11:16:45 -0600 )edit

Can definitely try this. However, I don't need to use the android SDK for my project. All I need to do is connect to another entity (that will have been set up using groovy.) I'll need to define and compile some messages. Otherwise, I just need the basics. So far I installed the Hydro bits without the android bits. I'll see if I can find documentation on how to do the rest. Although if anyone has a link to this and can attach another comment, this would be a good place for it :-).

sungod gravatar image sungod  ( 2013-08-27 13:36:12 -0600 )edit

The wiki starts with rosjava specific instructions at http://wiki.ros.org/rosjava now.

Daniel Stonier gravatar image Daniel Stonier  ( 2013-11-01 03:36:58 -0600 )edit

Question Tools

Stats

Asked: 2013-08-27 08:32:22 -0600

Seen: 910 times

Last updated: Aug 27 '13