[Documentation] [TitleIndex] [WordIndex

Source Installation

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

Preparation

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

Sources

> mkdir -p ~/rosjava
> wstool init -j4 ~/rosjava/src https://raw.github.com/rosjava/rosjava/hydro/rosjava.rosinstall
> 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.

Usage

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

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)


2024-11-16 17:43