Python Library

Cellbots started as a single Python file, but has grown into a significant libray to support multiple communication methods and a variety of robot platforms. The use of Python on Android is possible thanks to the Scripting Layer 4 Android, an open source project that allows scripting languages such as Python, Lua, PHP, Perl, and others to work on your phone. While this doesn’t support rich UI’s like Android primary Java language does, you can whip up some new code quickly and experiment with robotics.

With the Cellbots Python library, you can run your phone as a remote control or as the robot’s onboard brain. Commands can be sent via Google Talk as chat messages (XMPP), through Telnet, voice recognition, over HTTP using the local network. The primary way for the phone to talk to the robot is using Bluetooth on any Android 2.0 and up phone, but methods for modding the phone to accept serial input can also be used.

The Python codebase currently supports talking to Arduino robots like Truckbot and Tankbot, the VEX Pro, and iRobot Create & Roomba. We’re working to add support for LEGO MINDSTORMS and you should be able to add your own by working from the source code. We’ve currently scoped the project for two-wheel differential drive robots and look forward to ideas on extending that to more complex types in the future.

To get started, install the Scripting Layer 4 Android on your phone. Then check out the Python source code and copy it to the phone at /sdcard/sl4a/scripts/cellbot/ and edit the config files to your liking. Then pair with your phone and launch to get started as a remote control or direct drive of the robot.

Whether you have one or two Android phones, we’re sure you’ll find new and clever ways to script up clever robot hacks in just a couple lines of Python!

16 Responses to Python Library

  1. Pingback: Googlers Give Cellbots a Major Upgrade |

  2. Pingback: Android stretches its legs… errr wheels… with help from 20% time at Google |

  3. Pingback: Googles 20% time brings robotic app to Android | sUAS News

  4. Derek Harrington says:

    Where is the Python source code? and what format do I put it in to copy it to my android phone?

  5. George says:

    Where is the Python source code?

  6. srirag says:

    Where is the python source code sir.

  7. keep away from 2002, burglars achieved the single most inexplicable lemon heists of them all. often the Museon, a nice scientific research memorial in to Hgue, netherlands, was seen as dressed in a incredible bridal express intended to educate people concerning the diamonds. there have been royal works on to show you, and as well engagement ring mortgaged with the Museon according to any other galleries and museums and dinnerware collectors,
    [url=]nike cortez vintage blue[/url]

  8. sheet metal earrings manufacture ToolsWhat is almost certainly?employing a pieces of jewelry SawHow try using a wire call PlateTips as registering MetalAnvil as contrasted with. block for making earringsHammers for stainless steel dark-gray MakingIt’s brighte or sending your line OxidizingAbout bracelets by using ServicesMaking messed up wax tart clay style of gets to betrustworthy quickly shootingThis unique. find out more about this wonderful clay surfaces that helps to form and even a flame stainlesss steel accessory,
    [url=]nike air max tailwind 2 review[/url]

  9. I’m never too small, the key is to do years ago, in the field of digital camera accessories, we created a new category, created the first digital camera LCD screen protection brand – GGS magic, and patented technology, the ‘James Bond’ became a registered trademark. Now, the ‘magic’ word has become synonymous with the digital camera screen protection products in the industry. Until today, we have both the line

  10. Admiring the commitment you put into your website and detailed information you offer.
    It’s nice to come across a blog every once in a while that
    isn’t the same outdated rehashed information. Excellent read!
    I’ve saved your site and I’m adding your RSS feeds to my Google account.

  11. Cada cabelo precisa de um tratamento diferente e cada máscara tem uma função

  12. The use of KPI’s will provide the link between financial performance and strategic decision-making, and subsequently they will provide an input
    into the resource allocation process and influence the organization’s portfolio management process.
    The plan should provide individual employees with specific goals, objectives
    and milestones needed to achieve their long-term professional objectives and goals.

    Specific examples provide tangible targets for employees to
    shoot for.

  13. Entonces se hizo amigo de Apolo, a quien le regaló una varilla con 2 víboras entrelazadas -el caduceo-que tenía la
    virtud de reconciliar a los enemigos; de este, en cambio, recibió la lira.

  14. Tulisan bermanfaat soal kasur busa super ini sangat bermanfaat.
    Keren sekali & penting diketahui. Tiap orang yg pakai ataupun lagi mencari kasur busa super seperti ini
    di Indonesia harus baca artikel ini. Mampir juga situs yasis,
    banyak ulasan menarik yang mungkin bermanfaat bagi para fans kasur busa.

  15. You could certainly see your enthusiasm within the work you write.

    The world hopes for even more passionate writers such as you who aren’t afraid to mention how they believe.
    All the time follow your heart.

  16. Thanks for your marvelous posting! I genuinely enjoyed reading it, you can be a great author.
    I will be sure to bookmark your blog and definitely will come back iin the
    foreseeable future. I want to encourage you continue your great
    writing, have a nice weekend!

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>