Overview

No catkin/ros necessary!

Build on top of rosjava in your existing java environment.


This makes use of maven packaging and repositories to pull in rosjava and the message dependencies you need for your project. What this means is that rosjava development is now decoupled from catkin/ros and you may use whatever development environment you wish so long as it has support for pulling artifacts from maven repositories.

The Rosjava Maven Repository

This includes artifacts from every release (hydro/indigo..). You might have to do about of investigative work to work out which versions apply to indigo artifacts. Typically core ros stacks for indigo are between 0.2 and 0.3. Message artifacts are simply the same version as those built for debs on indigo.

Development Environments

We don't use this workflow ourselves for rosjava yet (we do for android). If you decide to work in this manner, please update the wiki with some notes on how you did so. If you have questions on how it might work in your scenario, ask us on the sig mailing list.

Gradle

To utilise the repository, simply include it in the list of repositories you would normally pass to the gradle maven repository dependency closure in build.gradle. An example:

repositories {
  maven {
    url "https://github.com/rosjava/rosjava_mvn_repo/raw/master"
  }
  mavenLocal()
  jcenter()
}

and structure your subproject dependencies like:

dependencies {
  compile 'org.ros.rosjava_core:rosjava:[0.2,0.3)'
  compile 'org.ros.rosjava_messages:geometry_msgs:[1.11,1.12)'

More detailed help on how gradle handles this can be found in the official gradle Dependency Management Basics and Depedency Management tutorials.

Eclipse

TODO!

Gradle

TODO!

Wiki: rosjava/Tutorials/indigo/No Ros Installation (last edited 2017-06-21 12:42:25 by jcerruti)