Source Installation

The following instructions are for source installation on ubuntu platform 1.


> sudo apt-get install ros-hydro-catkin ros-hydro-ros python-wstool


> mkdir -p ~/rosjava
> wstool init -j4 ~/rosjava/src
> source /opt/ros/hydro/setup.bash
> cd ~/rosjava
# Make sure we've got all rosdeps and msg packages.
> rosdep update
> rosdep install --from-paths src -i -y
> catkin_make

Development Workspace

You can now proceed to adding your own source packages on top. Refer to the next tutorial - Creating Rosjava Packages.


You can now continue to compile your projects in one of two ways:

  • Entire Workspaces: on the command line with catkin_make.

  • Individual Projects/Targets: source devel/setup.bash and work with gradle.

Working directly with gradle is like using make under the hood of a catkin_make build for c++. Use the gradle wrapper scripts (gradlew) in each package.

Maven Artifacts

In this installation, you will find the maven repository of all rosjava artifacts in ~/rosjava/devel/share/maven.

  1. For other platforms, you'll need to use pip for the python packages and drop the other stack sources into your rosinstall. (1)

Wiki: rosjava/Tutorials/hydro/Source Installation (last edited 2014-06-26 03:15:43 by DanielStonier)