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

Using ros packages on android oreo

asked 2018-06-11 05:20:06 -0500

akros gravatar image

updated 2018-06-18 23:29:55 -0500

Actually i am new to both android and ROS. I want to know how to compile ros packages on android. Is there ros libraries available for android inbuilt or need to cross compile.

Among below wiki which one to follow 1) http://wiki.ros.org/android_ndk/Tutor... 2) http://wiki.ros.org/android/kinetic/A...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-06-22 10:09:21 -0500

jubeira gravatar image

updated 2018-09-27 08:30:18 -0500

Hi @akros,

The first tutorial you point out is correct. And yes, you will need to cross compile the packages to be able to use them on Android.

Those instructions and this repo will help you cross compile a set of packages (with some limitations) so that you can use them on Android. Note that the packages are in Indigo; updating them to Kinetic may require some work. You are more than welcome to submit contributions to the repository if want. Also note that this doesn't include python packages. In other words, cross compiling the packages that are already available is rather simple (try following the instructions in the tutorial), but adding new packages may not be exactly trivial.

Another thing is that in some cases Android tools and infrastructure in android_core may be a bit outdated. The last Android API that is known to work is 25; for later APIS you may need to introduce some changes there.

I hope this helps. What you want can be done, but you will need a bit of patience and some work here and there. What packages do you want to use in particular? Can you edit the answer and provide more details?

Another option is to write a Java version for the code that you want. Depending on the package, this could be a simpler option.

EDIT: Android 8 & 9 support is in progress; see https://github.com/rosjava/android_co...

edit flag offensive delete link more

Comments

Currently i am trying to use astra_camera with image_view to display depth streams coming from astra mini on android

akros gravatar image akros  ( 2018-06-25 01:25:27 -0500 )edit

Do you need astra_camera running on Android, or can you just stream images to be displayed on Android?

jubeira gravatar image jubeira  ( 2018-06-26 10:36:46 -0500 )edit

astra_camera(may be using roslaunch) should be running on android and i want to read multiple topics from multiple applications such as image_view to view and use stream data.

akros gravatar image akros  ( 2018-06-26 23:48:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-06-11 05:20:06 -0500

Seen: 200 times

Last updated: Sep 27 '18