Autonomous robot made from Android phone + Arduino + Zumo Shield
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
RoboantAndroid
RoboantArduino/roboant
RoboantBluetoothConnection
roboant_server_desert/bin
.gitignore
README.md

README.md

RoboAnt

Autonomous robot made from Android phone + Arduino + Zumo Shield. Includes Android app, Arduino sketch and Python server.

Build dependencies

Build tested with an old version of usb-serial-for-android

Additionally, the following change to the usb-serial-for-android code was made (not sure wheter it would be necessary any more if using a more recent version.

--- a/UsbSerialLibrary/src/com/hoho/android/usbserial/util/SerialInputOutputManager.java
+++ b/UsbSerialLibrary/src/com/hoho/android/usbserial/util/SerialInputOutputManager.java

@@ -99,6 +99,10 @@ public class SerialInputOutputManager implements Runnable {
 
     public void writeAsync(byte[] data) {
         synchronized (mWriteBuffer) {
+//            if (mWriteBuffer.remaining() < data.length) {
+//                Log.i(TAG, "Clearing buffer to prevent overflow");
+//                mWriteBuffer.clear();
+//            }
             mWriteBuffer.put(data);
         }
     }

Useful links

Build your own RoboAnt - http://blog.inf.ed.ac.uk/insectrobotics/roboant/

Remote control setup step-by-step - http://blog.inf.ed.ac.uk/insectrobotics/roboant-remote-control/

Feel free to use it as a starting point for your own ideas and let us know what you created!

Made by the Insect Robotics Lab University of Edinburgh