Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.
insect robots

Insect Robotics Group

Insect Robotics Group

Building robots to understand insect behaviour

RoboAnt: Remote Control

Follow up to RoboAnt: Build your own Android robot

It’s vital we can control our soon-to-be autonomous robot! Fortunately, that’s really easy with the code provided on https://github.com/d3kod/roboant . Here’s how…

Android

Get it on Google Play

Get the app from Play Store or get the source from RoboantAndroid.

If you choose to compile it from source you will also need OpenCV For Android and usb-serial-for-android.

Arduino

Flash sketch from RoboantArduino on your Arduino. When powered up the LED should blink slowly.

Server

The server is written using Python and Twisted framework. It uses pygame for visualization. To install it simply do:

pip install roboant_server

or

easy_install roboant_server

This will also make sure you have the two dependencies, twisted and pygame. To launch the server:

roboant-server

And you should see a similar screen:

roboant_server

The QR code represents your IP and port address. Using the Roboant Android app, you can quickly scan the code and connect to the server, saving you from typing the IP address manually.

Usage

Turn on the Zumo Robot, plug everything in and start the app on your Android device.  Optionally, connect any usb joystick to your laptop. Then, start the server:

roboant-server

You can control the robot with either the arrow keys or (much easier) with a joystick. Congratulations, you have set up remote control!

If you encounter any problems or comments, please email me on akodzhabashev AT gmail DOT com

Next: Roboant: Autonomous

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel