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

How to turn an android app to a ROS node

asked 2017-10-08 18:58:39 -0500

rozoalex gravatar image

How do I write a android app like the android ROS teleop app? Do I have to use rosjava? Is there any open sourced project or not-outdated tutorials? What is the current state-of-art way to make a mobile app to a node.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
4

answered 2017-10-10 12:45:29 -0500

jubeira gravatar image

@rozoalex the "most standard" way of running ROS on Android is using Rosjava and RosAndroid. Take a look here: http://wiki.ros.org/android (kinetic tab) and here: http://wiki.ros.org/rosjava . The documentation is a bit basic but it can get you going. In short, Rosjava will provide you the infrastructure you need to execute code as ROS nodes, send messages, etc. All of that can be triggered within an Android activity.

Depending on what you want to do, you may want to modify existing apps (like teleop), which are actually open source. Take a look at https://github.com/rosjava/android_apps , you don't need to start from scratch. Perhaps some of the existing components will help you out in your application.

edit flag offensive delete link more

Comments

Thanks! Is there some recommended resource for doing iOS node? I just found these : https://github.com/tomas789/iOSmsg and https://github.com/tomas789/iOSmsg_cl...

rozoalex gravatar image rozoalex  ( 2017-10-10 13:45:30 -0500 )edit

Sorry, I can't help you with that one. There is no "official" or "close to official" implementation of ROS that can run on iOs that I'm aware of. Those links seem to provide partial implementation to pass messages; perhaps that's enough for your application.

jubeira gravatar image jubeira  ( 2017-10-10 13:49:15 -0500 )edit
1

answered 2020-07-29 04:36:49 -0500

NRottmann gravatar image

Currently, we developed an Android application based on the current architectural pattern Model View ViewModel. It is open source and can be found here:

https://github.com/ROS-Mobile/ROS-Mob...

or directly at the android app store

https://play.google.com/store/apps/de...

edit flag offensive delete link more
0

answered 2018-11-22 04:57:12 -0500

TJoey gravatar image

I also found this github repo and it nearly works out of the box for android sensor messages to ROS.

Two important mentions:

-add maven2 to gradle file otherwise it will not work

-build the app from the linux terminal because then Gradle helps a lot

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-10-08 18:58:39 -0500

Seen: 5,758 times

Last updated: Jul 29 '20