This program is for an autonomous robot for the competition at the Hochschule Luzern. http://cruisingcrepe.wordpress.com/ We are one of the 32 teams. http://cruisingcrepe.wordpress.com/ The postition control is based on this Documentation: Control of Wheeled Mobile Robots: An Experimental Overview from Alessandro De Luca, Giuseppe Oriolo, Marilena Vendittelli. For more information see here: http://www.dis.uniroma1.it/~labrob/pub/papers/Ramsete01.pdf

Dependencies:   mbed

Fork of autonomous Robot Android by Christian Burri

MicroBridge/androidADB.h

Committer:
chrigelburri
Date:
2013-05-03
Revision:
19:b2f76b0fe4c8
Parent:
18:306d362d692b
Child:
20:01b233b0e606

File content as of revision 19:b2f76b0fe4c8:

#ifndef _ANDROIDADB_H_
#define _ANDROIDADB_H_

#include "mbed.h"
#include "Adb.h"
//#include "androidADB.cpp"

#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include <stdlib.h>

/**
    * @brief Takes an string, a vector of strings for the delimited tokens, and a with the
    * @param str
    * @param tokens
    * @param delimiters
    */
void Tokenize(const string& str,
              vector<string>& tokens,
              const string& delimiters = " ");
              
              void parseMessage(uint16_t length, uint8_t * data);
              
void connect();

float getDesiredTheta();
float getDesiredX();
float getDesiredY();

void init();

void write2Android(char str [32]);

void writeActualPosition(float x, float y, float t);

#endif