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

Path calculation by Android phone... Generally possible?

asked 2012-03-04 23:24:52 -0500

cpury gravatar image

Hi there, I am a Bachelor's student for CS and I have to do a so-called project next year. I went to our Prof of Autonomous Robotics with a friend to ask for a cool thing to work on as a team of two. His idea was to use one of the Uni's robot (omnidirectional) and let it be controlled by an Android phone.

In detail, the robot should have a general idea of the room (eg. a map). Via phone one sets a target location on the map. The robot then should find out its own location via Laser or other means and pass it to the phone, which then calculates a shortest path (A* or whatever) to the target and sends it back to the robot, which then moves along the path (and maybe also evades moving obstacles).

Now this sounds awesome, but actually I have no idea if this is possible or even doable for two beginners in a semester (while still having ~4 other lectures). Also it seems our professor himself doesn't know for sure if and how one should go about this.

So my question is, what do you think about the doability and amount? Where should I start reading? My faculty uses ROS, so I should probably start with basic tutorials?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-03-05 00:18:11 -0500

dornhege gravatar image

Yes, the tutorials. Continue with the navigation stack and have a look at

About doability. It is definitely doable. The rest depends on your skills and knowledge. That is something you need to know yourself.

edit flag offensive delete link more


Thank you!

cpury gravatar image cpury  ( 2012-03-05 00:38:08 -0500 )edit

answered 2012-03-05 00:26:37 -0500

updated 2012-03-05 00:39:40 -0500

As @dornhege said, what you propose is doable in principle. It would be easier if you perform path planning on the robot though, because the navigation stack already covers the functionality you require. Based on roscpp, it currently does not run on Android phones however (rosjava is the ros implementation of choice on Android phones).

edit flag offensive delete link more


Thanks for the answer. However, the whole point our Professor wants us to make is that the calculation can be made on an Android phone. Also my project partner is mainly interested in communication, so some kind of complex communication between robot and phone should be going on.

cpury gravatar image cpury  ( 2012-03-05 00:40:14 -0500 )edit

You'll probably end up programming navfn in java, which should not be too hard. Regarding communication I somewhat doubt that this will be complex (to program) as the whole point of ROS is to make it not complex.

dornhege gravatar image dornhege  ( 2012-03-05 00:51:28 -0500 )edit

Question Tools


Asked: 2012-03-04 23:24:52 -0500

Seen: 486 times

Last updated: Mar 05 '12