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

Roscore on android device

asked 2013-03-26 18:22:44 -0500

Gosu gravatar image

Hi, Is it posible to run roscore on an android device, and make other nodes on a ubuntu laptop connect to it?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-27 02:23:46 -0500

jamuraa gravatar image

Yes, it's possible to run the roscore on the Android device. You can start one programmatically using RosCore.newPublic() which will listen on the public interfaces. (The MasterChoooser default implementation will start a Private server, not accessible by the outside world).

Once you start your RosCore, you can set the ROS_MASTER_URI environment variable on your Ubuntu laptop to your Android device: export ROS_MASTER_URI=

Once that is set (in all your shells), you should be able to see topics using rostopic and the other basic tools.

edit flag offensive delete link more


Thank you very much for your answer. I will give it a try.

Gosu gravatar image Gosu  ( 2013-03-27 03:18:32 -0500 )edit

Question Tools



Asked: 2013-03-26 18:22:44 -0500

Seen: 1,182 times

Last updated: Mar 27 '13