(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Installation

Description: Source installation instructions for android_remocons.

Keywords: android_remocons, install

Tutorial Level: ADVANCED

Android Studio & SDK

Debs

You'll need catkin and a few message packages to ensure it all compiles. Ensure you include any other msg packages you are likely to use in your android applications.

> sudo apt-get install ros-hydro-catkin ros-hydro-common-msgs

Sources

  • Make sure you have a clean shell with no previous ROS environment variables set. If you don't it will confuse the following chained catkin workspaces, which are intended to help save some time when building.

> mkdir -p ~/rosjava
> wstool init ~/rosjava/src https://raw.github.com/ros-java/rosjava_tools/hydro-devel/rosjava.rosinstall
> source /opt/ros/hydro/setup.bash
> cd ~/rosjava
> catkin_make

Now the source android workspace:

> mkdir -p ~/android
> wstool init ~/android/src https://raw.github.com/ros-java/rosjava_tools/hydro-devel/android_apps.rosinstall
> source ~/rosjava/devel/setup.bash
> cd ~/android
> catkin_make

From here you can continue to compile with catkin, gradle (let's you compile specific tasks) or via imported gradle projects in android studio.

Wiki: android_remocons/Tutorials/hydro/Installation (last edited 2013-06-26 15:18:50 by DanielStonier)