Results tagged “Android”

Rosjava/Android Indigo Release

From Daniel Stonier via ros-users@

A quick heads up for the official rosjava/android release on indigo. This has been the result of some on and off work over the last couple of weeks - a big thank you to input from a few lads who were busy on the github rosjava issue trackers. Also to Damon for the android improvements since hydro.

Starting points:

Shiny new things (details in the Migration Guide):
  • Gradle version -> 2.2
  • More (and easier) methods of generating message artifacts.
  • Build rosjava debs on the build farm without special workarounds
  • Android Studio 1.x support
  • Android interactions/pairing now stable with tutorials.
  • Lots of other minor fixes and updates.

RosJava & Android on Hydro

From Daniel Stonier via ros-users@

Hi all,

A quick javaland update. I know quite a few people have already dived in early with rosjava on hydro even though it hasn't actually bleeped on the ros news radar yet. 

This is finally that bleep to say that we're reasonably happy (and using it ourselves fairly actively) with the current state of the rosjava/android build environment for hydro and we'll endeavour to keep it stable 'as is' (apart from bugfixes) for the remainder of the hydro release.

So what is in the box?


  • Partially Catkinized - each gradle super project is a catkin package
    • You can now do entire workspace builds and CI with one command
  • Ros Gradle Plugins: take alot of the repitition out of the build.gradle files
  • Debs - you no longer need to build every stack to build your own sources
  • A Maven Repo - you don't even need ros to access/build with the rosjava jars, just point to our maven repo on github.
  • Messages - each package now compiles into its own jar (no superblob)

  • Android Studio/Gradle - uses the new adt build environment from google
    • IDE/Command Line/CI are now all compatible
  • AAR's : takes advantage of the new .aar's for android libraries
  • Partially Catkinized : can do entire workspace builds on these too.
    • with .aar's we can really scale up now
  • A Maven Repo : just point to this instead of having to build everything
    • don't need to build any sources to build your single application anymore!
Places to look for documentation are at:

And join us on the rosjava sig google group for feedback/questions/news!


PS A big thank you to Damon Kohler for assisting us in getting rosjava in better shape for hydro and also to the users who endured alot of rapid changes and gave great feedback early in the upgrade.

PPS What's coming for igloo? Expect a true rosjava message generator...somewhat awkwardly compiling rosjava messages is very quickly reaching an annoying threshold of unbearably biblical proportions!

An Oddwerx Visit

crosspost from

The folks from Oddwerx came to Willow Garage for a visit recently.  For those who aren't already familiar with Oddwerx, it is a very cool initiative to turn an iPhone or Android phone into an autonomous robot.    In the first video you can see how Ted Larson, Bob Allen and Brandon Blodget from Oddwerx took a PS3 Game Controller and plumbed it together to send its ROS messages to an Oddwerx Robot running its own ROS node for controlling the motors and legs.  They took advantage of the existing ROS packages which support interacting with the PS3 joystick, which is in use on many robots including the PR2.   

Fashion was front and center in this second video when the Oddwerx robot "grew" purple hair.  In addition to responding to PS3 ROS messages, the robot was programmed to send audio/video to enable teleoperation.  Since ROS employs publish/subscribe, multiple subscribers can just listen into the live video feed.

Oddwerx is now a Kickstarter project.   If you share their vision to turn smartphones into mobile robotic ROS platforms, then support this effort on Kickstarter.

Announcing ROS Android Sensors Driver

ros_android_logo.pngAnnouncement by Chad Rockey (maintainer of laser_drivers to ROS users

Hi ROS Community,

I've been working on a driver that connects the sensors in Android devices to the ROS environment. At this time, it only publishes sensor_msgs/NavSatFix messages, but I will soon introduce sensor_msgs/Imu and sensor_msgs/Image to publish data from accelerometers, gyroscopes, magnetometers, and front/rear cameras.

To get more information and to install, please see the following:

To file bugs, request features, view source, or contribute UI, translation, or other improvements, please see the Google Code project:

I hope everyone finds this useful and I look forward to hearing your feedback and seeing cool uses for Android devices in robotics.

- Chad Rockey


Zeroconf on Android Review

Announcement by Daniel Stonier of Yujin to ros-users

Hi all,

Just a quick bump for those that might be interested in zero-configuration on android. I've got a rough working implementation with a couple of demo apps. The underlying jmdns still has a few rough edges, but am currently working with the developer to fix these. Since we're actively looking at issues now, it is probably an appropriate time to query others who might have an interest in seeing feature x or y to be implemented.

There is a review page at on the ROS wiki. Links to docs, code and demos can be found there.

If you have any comments, please add them there.

Daniel Stonier

io2011.pngYesterday at Google I/O, developers at Google and Willow Garage announced a new rosjava library that is the first pure-Java implementation of ROS. This new library was developed at Google with the goal of enabling advanced Android apps for robotics.

The library, tools, and hardware that come with Android devices are well-suited for robotics. Smartphones and tablets are sophisticated computation devices with useful sensors and great user-interaction capabilities. Android devices can also be extended with additional sensor and actuators thanks to the Open Accessory and Android @ Home APIs that were announced at Google I/O,

The new rosjava is currently in alpha release mode and is still under active development, so there will be changes to the API moving forward. For early adopters, there are Android tutorials to help you send and receive sensor data to a robot.

This announcement was part of a broader talk on Cloud Robotics, which was given by Ryan Hickman and Damon Kohler of Google, as well Ken Conley and Brian Gerkey of Willow Garage. This talk discusses the many possibilities of harnessing the cloud for robotics applications, from providing capabilities like object recognition and voice services, to reducing the cost of robotics hardware, to enabling the development of user interfaces in the cloud that connect to robots remotely. With the new rosjava library, ROS developers can now take advantage of the Android platform to connect more easily to cloud services.

rospy on Android

Announcement from Prof. Dr. Matthias Kranz of TUM

The team of the Distributed Multimodal Information Processing Group of Technische Universität München (TUM) is pleased to announce that we ported rospy to run on Android-based mobile devices.

Python for Android on top of the Scripting Layer for Android (SL4A) serves as basis for our rospy project. We extended the scripting layer, added new support for ctypes and other requirements. Now, rospy, roslib and the std_msgs are working and running on a roscore, directly on your mobile phone. To configure a roscore on a standard computer to cooperate with the roscore on the Android, you simple scan a QR code on the computer's screen to autoconfigure the smartphone. Basic support for OpenCV and the image topics is also included. You are welcome to extend the current state of our work.

You will need a current Version of the Scripting Layer (v3) and the newer Python for Android with the possibility to import custom modules. You can use every Android device able to run the SL4A. In general you be able to run it on every recent Android powered device. You will not harm your phone at all, even no root access is needed to run ROS on your device.

You can find our code, basic documentation and a video in our repository and on

A small video showcasing how to control a ROS-based cognitive intelligent environment via an Android-based smartphone is available here.


Panoramic Stitching on Android, Open CV on Android

Robot View, now on the Android Market, lets you create panoramas and upload them to the web with your cellphone. Here's a panorama taken at Stanford, and here's another taken in the WG offices.

This isn't just a cool new app for your phone. It's a preview of what's coming for OpenCV and ROS. The panoramic stitching engine used in Robot View will soon be part of OpenCV. You'll also be able to use it in your own Android Apps, because OpenCV now runs on Android:

And, of course, OpenCV and ROS are part of the same happy family, so, yes, it will soon be coming to a robot near you.


Find this blog and more at

Monthly Archives

Find recent content on the main index or look in the archives to find all content.