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.
Dependencies: mbed Servo SDFileSystem
Config.h@21:99be83550601, 2015-08-29 (annotated)
- Committer:
- dem123456789
- Date:
- Sat Aug 29 03:35:10 2015 +0000
- Revision:
- 21:99be83550601
- Parent:
- 20:a820531c78bc
- Child:
- 23:cc06a8226f72
Servo tested
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dem123456789 | 20:a820531c78bc | 1 | #include <stdio.h> |
| dem123456789 | 20:a820531c78bc | 2 | #include <stdlib.h> |
| dem123456789 | 20:a820531c78bc | 3 | #include <string> |
| dem123456789 | 20:a820531c78bc | 4 | #include <vector> |
| dem123456789 | 20:a820531c78bc | 5 | #include <list> |
| dem123456789 | 20:a820531c78bc | 6 | #include <sstream> |
| dem123456789 | 20:a820531c78bc | 7 | #include "mbed.h" |
| dem123456789 | 21:99be83550601 | 8 | #include "Servo.h" |
| dem123456789 | 21:99be83550601 | 9 | #include "SDFileSystem.h" |
| dem123456789 | 21:99be83550601 | 10 | |
| dem123456789 | 20:a820531c78bc | 11 | using namespace std; |
| dem123456789 | 20:a820531c78bc | 12 | |
| dem123456789 | 20:a820531c78bc | 13 | #define MAX_IMU_SIZE 29 |
| dem123456789 | 20:a820531c78bc | 14 | #define MAX_TASK_SIZE 5 |
| dem123456789 | 20:a820531c78bc | 15 | |
| dem123456789 | 20:a820531c78bc | 16 | extern string IMU_Y; |
| dem123456789 | 20:a820531c78bc | 17 | extern string IMU_P; |
| dem123456789 | 20:a820531c78bc | 18 | extern string IMU_R; |
| dem123456789 | 20:a820531c78bc | 19 | extern string GPS_Quality; |
| dem123456789 | 20:a820531c78bc | 20 | extern string GPS_UTC; |
| dem123456789 | 20:a820531c78bc | 21 | extern string GPS_Latitude; |
| dem123456789 | 20:a820531c78bc | 22 | extern string GPS_Longtitude; |
| dem123456789 | 20:a820531c78bc | 23 | extern string GPS_Altitude; |
| dem123456789 | 20:a820531c78bc | 24 | extern string GPS_Num_Satellite; |
| dem123456789 | 20:a820531c78bc | 25 | extern string GPS_HDOP; |
| dem123456789 | 20:a820531c78bc | 26 | extern string GPS_VDOP; |
| dem123456789 | 20:a820531c78bc | 27 | extern string GPS_PDOP; |
| dem123456789 | 20:a820531c78bc | 28 | extern string GPS_Date; |
| dem123456789 | 20:a820531c78bc | 29 | extern string GPS_VelocityKnot; |
| dem123456789 | 20:a820531c78bc | 30 | extern string GPS_VelocityKph; |
| dem123456789 | 20:a820531c78bc | 31 | extern double Longtitude_Path[MAX_TASK_SIZE]; |
| dem123456789 | 20:a820531c78bc | 32 | extern double Latitude_Path[MAX_TASK_SIZE]; |
| dem123456789 | 20:a820531c78bc | 33 | extern Serial pc; |
| dem123456789 | 20:a820531c78bc | 34 | |
| dem123456789 | 20:a820531c78bc | 35 | string getIMU_Y(); |
| dem123456789 | 20:a820531c78bc | 36 | string getIMU_P(); |
| dem123456789 | 20:a820531c78bc | 37 | string getIMU_R(); |
| dem123456789 | 20:a820531c78bc | 38 | string getGPS_Quality(); |
| dem123456789 | 20:a820531c78bc | 39 | string getGPS_UTC(); |
| dem123456789 | 20:a820531c78bc | 40 | string getGPS_quality(); |
| dem123456789 | 20:a820531c78bc | 41 | string getGPS_Latitude(); |
| dem123456789 | 20:a820531c78bc | 42 | string getGPS_Longtitude(); |
| dem123456789 | 20:a820531c78bc | 43 | string getGPS_Altitude(); |
| dem123456789 | 20:a820531c78bc | 44 | string getGPS_Num_Satellite(); |
| dem123456789 | 20:a820531c78bc | 45 | string getGPS_HDOP(); |
| dem123456789 | 20:a820531c78bc | 46 | string getGPS_VDOP(); |
| dem123456789 | 20:a820531c78bc | 47 | string getGPS_PDOP(); |
| dem123456789 | 20:a820531c78bc | 48 | string getGPS_Date(); |
| dem123456789 | 20:a820531c78bc | 49 | string getGPS_VelocityKnot(); |
| dem123456789 | 20:a820531c78bc | 50 | string getGPS_VelocityKph(); |
| dem123456789 | 20:a820531c78bc | 51 | string decodeCommandGET(string cmd); |
| dem123456789 | 20:a820531c78bc | 52 | string decodeCommandSET(string cmd); |
| dem123456789 | 20:a820531c78bc | 53 | vector<string> split(const string &s, char delim); |