Abstraction for the glider class
Revision 21:a1db0106c09a, committed 2017-06-09
- Comitter:
- chasefarmer2808
- Date:
- Fri Jun 09 01:16:18 2017 +0000
- Parent:
- 20:d8044cd4819f
- Commit message:
- yo
Changed in this revision
Glider.cpp | Show annotated file Show diff for this revision Revisions of this file |
Glider.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Glider.cpp Tue May 16 17:20:59 2017 +0000 +++ b/Glider.cpp Fri Jun 09 01:16:18 2017 +0000 @@ -130,12 +130,12 @@ break; case CMD_RESET: //'z' was recieved xbee->printf("resetting save file...\r\n"); - /* + state = 0; packetCount = 0; startTime = 0; saveData(); - */ + //remove("/telem/data.txt");
--- a/Glider.h Tue May 16 17:20:59 2017 +0000 +++ b/Glider.h Fri Jun 09 01:16:18 2017 +0000 @@ -29,9 +29,9 @@ #define BUZZER_FREQ 700.0 -#define ALT_THRESH 100.0 //meters +#define ALT_THRESH -1.0 //meters -#define EMERGENCY_TIMEOUT 30.0 //seconds before buzzer will sound forever no matter what +#define EMERGENCY_TIMEOUT 60.0 //seconds before buzzer will sound forever no matter what class Glider { public: