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
Fork of autonomous Robot Android by
Diff: MicroBridge/androidADB.h
- Revision:
- 33:ac39982fd3b2
- Parent:
- 32:767044a3e421
- Child:
- 34:62996eed658a
diff -r 767044a3e421 -r ac39982fd3b2 MicroBridge/androidADB.h --- a/MicroBridge/androidADB.h Mon May 20 17:40:08 2013 +0000 +++ b/MicroBridge/androidADB.h Tue May 21 17:42:50 2013 +0000 @@ -4,7 +4,6 @@ #include "mbed.h" #include "Adb.h" #include "defines.h" -#include "RobotControl.h" #include <string> #include <sstream> @@ -23,15 +22,14 @@ const string& delimiters = " "); /** -* @brief @todo -* @param length -* @param data +* @brief Parse the Message, split and save it to the Attributes. +* @param length length of the data +* @param data Data to parse */ void parseMessage(uint16_t length, uint8_t * data); /** -* @brief @todo -* Connecting to android. +* @brief Connecting to android. */ void connect(); @@ -65,19 +63,14 @@ void init(); /** -* @brief @todo -* @param str -*/ -void write2Android(char str [32]); - -/** * @brief Write the Parameterlist to the android smartphone. -* @param x -* @param y -* @param t -* @param state_u -* @param state_r -* @param volt_b +* @param x Acutal X-Position +* @param y Acutal Y-Position +* @param t Acutal θ-Position +* @param state_u Actual State Undervoltage +* @param state_l Actual Left State +* @param state_r Actual Right State +* @param volt_b Actual battery voltage */ void writeActualPosition(float x, float y, float t, int state_u, int state_l, int state_r, float volt_b);