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@23:cc06a8226f72, 2015-09-06 (annotated)
- Committer:
- dem123456789
- Date:
- Sun Sep 06 23:02:48 2015 +0000
- Revision:
- 23:cc06a8226f72
- Parent:
- 21:99be83550601
- Child:
- 25:30966ed7f7e8
double-based data for calculation use set up complete
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 | 23:cc06a8226f72 | 31 | |
| dem123456789 | 23:cc06a8226f72 | 32 | extern double D_IMU_Y; |
| dem123456789 | 23:cc06a8226f72 | 33 | extern double D_IMU_P; |
| dem123456789 | 23:cc06a8226f72 | 34 | extern double D_IMU_R; |
| dem123456789 | 23:cc06a8226f72 | 35 | extern double D_GPS_Quality; |
| dem123456789 | 23:cc06a8226f72 | 36 | extern double D_GPS_UTC; |
| dem123456789 | 23:cc06a8226f72 | 37 | extern double D_GPS_Latitude; |
| dem123456789 | 23:cc06a8226f72 | 38 | extern double D_GPS_Longtitude; |
| dem123456789 | 23:cc06a8226f72 | 39 | extern double D_GPS_Altitude; |
| dem123456789 | 23:cc06a8226f72 | 40 | extern double D_GPS_Num_Satellite; |
| dem123456789 | 23:cc06a8226f72 | 41 | extern double D_GPS_HDOP; |
| dem123456789 | 23:cc06a8226f72 | 42 | extern double D_GPS_VDOP; |
| dem123456789 | 23:cc06a8226f72 | 43 | extern double D_GPS_PDOP; |
| dem123456789 | 23:cc06a8226f72 | 44 | extern double D_GPS_Date; |
| dem123456789 | 23:cc06a8226f72 | 45 | extern double D_GPS_VelocityKnot; |
| dem123456789 | 23:cc06a8226f72 | 46 | extern double D_GPS_VelocityKph; |
| dem123456789 | 23:cc06a8226f72 | 47 | |
| dem123456789 | 20:a820531c78bc | 48 | extern double Longtitude_Path[MAX_TASK_SIZE]; |
| dem123456789 | 20:a820531c78bc | 49 | extern double Latitude_Path[MAX_TASK_SIZE]; |
| dem123456789 | 20:a820531c78bc | 50 | extern Serial pc; |
| dem123456789 | 20:a820531c78bc | 51 | |
| dem123456789 | 20:a820531c78bc | 52 | string getIMU_Y(); |
| dem123456789 | 20:a820531c78bc | 53 | string getIMU_P(); |
| dem123456789 | 20:a820531c78bc | 54 | string getIMU_R(); |
| dem123456789 | 20:a820531c78bc | 55 | string getGPS_Quality(); |
| dem123456789 | 20:a820531c78bc | 56 | string getGPS_UTC(); |
| dem123456789 | 20:a820531c78bc | 57 | string getGPS_quality(); |
| dem123456789 | 20:a820531c78bc | 58 | string getGPS_Latitude(); |
| dem123456789 | 20:a820531c78bc | 59 | string getGPS_Longtitude(); |
| dem123456789 | 20:a820531c78bc | 60 | string getGPS_Altitude(); |
| dem123456789 | 20:a820531c78bc | 61 | string getGPS_Num_Satellite(); |
| dem123456789 | 20:a820531c78bc | 62 | string getGPS_HDOP(); |
| dem123456789 | 20:a820531c78bc | 63 | string getGPS_VDOP(); |
| dem123456789 | 20:a820531c78bc | 64 | string getGPS_PDOP(); |
| dem123456789 | 20:a820531c78bc | 65 | string getGPS_Date(); |
| dem123456789 | 20:a820531c78bc | 66 | string getGPS_VelocityKnot(); |
| dem123456789 | 20:a820531c78bc | 67 | string getGPS_VelocityKph(); |
| dem123456789 | 20:a820531c78bc | 68 | string decodeCommandGET(string cmd); |
| dem123456789 | 20:a820531c78bc | 69 | string decodeCommandSET(string cmd); |
| dem123456789 | 20:a820531c78bc | 70 | vector<string> split(const string &s, char delim); |