ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Understanding rosjava, as recently announced by Google and Willow Garage

asked 2011-05-12 15:06:22 -0600

baalexander gravatar image

updated 2011-05-12 18:08:39 -0600

Google and Willow Garage announced a "new rosjava library that is the first pure-Java implementation of ROS." I watched the video and looked at the wiki, but I am still confused on what exactly rosjava is.

Is the announced rosjava more than a client library? Is it different than http://www.ros.org/wiki/rosjava?

If so, how does it differ from a client library? Does it have its own implementation of roscore and master and parameter server?

And if that's the case, how does rosjava differ from what I'll call proper ROS (the ROS installed via sudo apt-get install ros-diamondback-ros-base)? And what are the plans for the two in terms of development and feature parity in the future?

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
9

answered 2011-05-13 05:21:02 -0600

kwc gravatar image

The new rosjava is a pure Java implementation, and even includes a ROS master, which means you can run a complete ROS system on an Android phone. That said, it can still be used just as a client library and is compatible with the roscore that is distributed with ROS, and so you can view rosjava in the same way you would roscpp and rospy. In our talk, we demo using rosjava to both send and receive sensor data from an Android device to a PR2.

Moving forward, we will need to reconcile the two rosjava implementations, but our preference is for the pure Java implementation as it fulfills the main goal of Java, which is to run on any platform that supports a JVM. The new rosjava is still in an alpha-quality state, and there is much to do to fully integrate the build, test and runtime system with the ROS toolchain.

edit flag offensive delete link more

Comments

Thank you Ken for the response and the talk. That clarified things. I'm still a bit curious on how the two ROS implementations will be developed and maintained in the future, but that may be more wait and see.
baalexander gravatar image baalexander  ( 2011-05-13 16:02:23 -0600 )edit
The old implementation has been implemented more than 1 1/2 years ago by Jason Wolfe and not much has changed since then. Right now, the new rosjava implementation is not really integrated into the ROS toolchain yet. As soon as it is, it is pretty likely that we will let the old implementation die.
Lorenz gravatar image Lorenz  ( 2011-05-14 02:45:59 -0600 )edit
3

answered 2011-05-13 04:38:04 -0600

Lorenz gravatar image

As far as I can say, the newly announced rosjava is a native implementation of the ROS communication layer in Java that also runs on Android. The old implementation was just a wrapper around roscpp through JNI.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-05-12 15:06:22 -0600

Seen: 2,044 times

Last updated: May 13 '11