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

2 Answers

Sort by ยป oldest newest most voted
2

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 imagerozoalex ( 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 imagejubeira ( 2017-10-10 13:49:15 -0500 )edit
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

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

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

Seen: 1,075 times

Last updated: Nov 22 '18