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

Revision history [back]

click to hide/show revision 1
initial version

You've got a very difficult task ahead of you, given how you describe the requirements.

On the surface, what you're trying to achieve sounds like this: Android interface sends simple command data to robot; robot sends sensor data back. I don't see any reason to get Django involved here other than it being a requirement to run the app.

Have you looked at RosJava? It isn't very well documented but it does work and I've used it successfully in an Android app to send/receive simple data as well as maps and images. To send data to the robot you would create a button in the app, create a connection to the master, then make the button send a message on a topic of your choosing - sounds like it could be an empty message just to get the robot moving.

To communicate the other way you would create a subscriber for every single sensor topic you would display. The message types will depend on what kind of sensor data you are consuming. Then you would display the data on your interface as it comes in.

That's the gist of it. There are very many resources out there, I suggest your break down your massive goal into simpler tasks first.

https://answers.ros.org/question/173684/how-to-create-simple-ros-android-application/ https://answers.ros.org/question/272531/how-to-turn-an-android-app-to-a-ros-node/ http://wiki.ros.org/ApplicationsPlatform/Clients/Android/Tutorials/Getting%20Started#Writing_An_Android_App