Generation 2 of the Harp project
Dependencies: Servo TMP36 GZ chan_fatfs_sd buffered-serial1 nmea_parser watchdog mbed-rtos mbed
config.h@26:85cdb1031eb1, 2013-01-10 (annotated)
- Committer:
- tylerjw
- Date:
- Thu Jan 10 19:03:34 2013 +0000
- Revision:
- 26:85cdb1031eb1
- Parent:
- 24:7477105103e5
- Child:
- 27:24fd8e32511c
Tested file append
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tylerjw | 24:7477105103e5 | 1 | // file containing configuration values |
tylerjw | 24:7477105103e5 | 2 | |
tylerjw | 24:7477105103e5 | 3 | #ifndef HARP_CONFIG_H |
tylerjw | 24:7477105103e5 | 4 | #define HARP_CONFIG_H |
tylerjw | 24:7477105103e5 | 5 | |
tylerjw | 26:85cdb1031eb1 | 6 | #define WAIT_FOR_LOCK 0 // set to 1 to not open log file until gps lock |
tylerjw | 22:becb67846755 | 7 | #define UNLOCK_ON_FALL 0 // set to 1 to not signal parachute untill falling |
tylerjw | 22:becb67846755 | 8 | |
tylerjw | 22:becb67846755 | 9 | const float target_lat = 39.921664; // for setting the target location! |
tylerjw | 22:becb67846755 | 10 | const float target_lon = -105.008167; |
tylerjw | 22:becb67846755 | 11 | |
tylerjw | 22:becb67846755 | 12 | const float course_fudge = 15.0; // if -course_fudge < course > course_fudge then don't turn |
tylerjw | 22:becb67846755 | 13 | const float neg_course_fudge = -15.0; |
tylerjw | 22:becb67846755 | 14 | |
tylerjw | 22:becb67846755 | 15 | const float distance_fudge_km = 0.1; // stop turning if within distance_fudge km |
tylerjw | 22:becb67846755 | 16 | |
tylerjw | 22:becb67846755 | 17 | const float BAT_GPS_MUL = 15.51; |
tylerjw | 24:7477105103e5 | 18 | const float BAT_MBED_MUL = 10.26; |
tylerjw | 24:7477105103e5 | 19 | |
tylerjw | 24:7477105103e5 | 20 | #endif |