Ask Your Question

getting started with ROS Android: error in building rosjava_core

asked 2012-05-13 06:01:20 -0500

dan gravatar image

updated 2012-05-13 06:05:36 -0500

Trying to use rosAndroid with Fuerte. As far as I can tell, I have to first install and build rosjava_core, then rosjava_android, then I can follow the tutorial here (which seems to suggest it is OK to start here but it fails miserably):

So, after some searching, I find and complete "Intalling rosjava_core": and then move onto "Building rosjava_core": but get these errors, seem to be missing posedetection_msgs:

:rosjava_messages:compileJava /home/dbarry/rosAndroid/rosjava_core/rosjava_messages/build/generated-src/siftviewer/ package posedetection_msgs does not exist java.util.List<posedetection_msgs.feature0d> getFeatures(); ^ /home/dbarry/rosAndroid/rosjava_core/rosjava_messages/build/generated-src/siftviewer/ package posedetection_msgs does not exist void setFeatures(java.util.List<posedetection_msgs.feature0d> value);

Where do I get posedetection_msgs?

Bigger question-- is there an easier way to start using ROS Android?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-13 07:31:55 -0500

dan gravatar image

Here is a partial answer. Search for a while and find that posedetection_msgs is part of jsk-ros-pkg, see here: and download with svn: svn co add the path to ROS_PACKAGE_PATH and then rosmake posedetection_msgs

Then go back to rosAndroid and now ./gradlew install works.

Unfortunately, ./gradlew tests fails with these messages: Test org.ros.internal.message.MessageSerializationTest FAILED Test org.ros.time.NtpTimeProviderTest FAILED

Building > :rosjava:test > 131 tests completed, 17 failures The test reports show the following details: java.util.NoSuchElementException: Resource does not exist: /std_msgs/msg/Bool.msg java.util.NoSuchElementException: Resource does not exist: /std_msgs/msg/Duration.msg .... many more similar.

but /opt/ros/fuerte/share/std_msgs/msg/Bool.msg does exist and rospack find std_msgs returns: /opt/ros/fuerte/share/std_msgs

However, this still seems like a long walk for a short drink, so I suspect I am on the wrong path to just getting some ROS Android code to compile......

edit flag offensive delete link more


I just pushed a fix for the failing tests.

damonkohler gravatar image damonkohler  ( 2012-05-24 07:52:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-13 06:01:20 -0500

Seen: 426 times

Last updated: May 13 '12