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
Diff: Config.h
- Revision:
- 46:305112d73c69
- Parent:
- 45:dfa689f159ce
--- a/Config.h Tue Nov 03 16:31:44 2015 +0000 +++ b/Config.h Wed Nov 04 21:45:34 2015 +0000 @@ -53,6 +53,7 @@ extern double Longitude_Path[MAX_TASK_SIZE]; extern double Latitude_Path[MAX_TASK_SIZE]; extern int IF_Path_Complete[MAX_TASK_SIZE]; +extern int current_task; extern Serial pc; extern Servo rudderServo; extern Servo wingServo; @@ -61,6 +62,7 @@ string decodeCommandGET(string cmd); string decodeCommandSET(string cmd); vector<string> split(const string &s, char delim); +int get_current_task(); double getDistance(int task_id); double getAngle(int task_id); double getCTE(int task_id);