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

Wired android connection

asked 2014-02-28 01:03:27 -0500

grzebyk gravatar image

Hi everyone!

I've got a small mobile robot with raspberry pi computer on board. I need to use some sensors and apparently most of them are included in a standard android phone. Therefore i've been thinking of mounting such device on the robot. I know there is quite easy way to communicate phone and ros-enabled computer via wifi, but since the phone will be an integral part of the robot i'd prefer faster and more reliable cable connection. So here comes my question:

Is there a possibility to connect android to the ros master with usb cable?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-02-28 01:11:05 -0500

davinci gravatar image

Some phones can act as usb host, in this way you can for instance use a mouse on your phone. Perhaps it is also possible to connect a usb ethernet adapter. Or run ROS on the phone and use an arduino with android ADK interface: http://www.adafruit.com/products/563

edit flag offensive delete link more

Comments

Thank you. This arduino has all the required components. Adding this module helps a lot and make everything easier:)

grzebyk gravatar image grzebyk  ( 2014-03-12 01:50:18 -0500 )edit
0

answered 2014-02-28 09:17:37 -0500

SL Remy gravatar image

Taking a look at an old post:

In this mode, the Android is directly connected to Raspberry Pi using a USB cable, just as it is connected to any PC. So ADB and USB tethering can be great protocols to help realizing fast bidirectional communication.

The instructions (that I haven't tried myself) for tethering are here . Now I really need to find an application to apply this to, and a device to test with.

Hope this helps.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-28 01:03:27 -0500

Seen: 783 times

Last updated: Feb 28 '14