Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of autonomous Robot Android by
Diff: MicroBridge/androidADB.h
- Revision:
- 33:ac39982fd3b2
- Parent:
- 32:767044a3e421
- Child:
- 34:62996eed658a
--- 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);