Generation 3 of the Harp project
Dependencies: Servo TMP36 GZ buffered-serial1 chan_fatfs_sd nmea_parser watchdog mbed-rtos mbed
Fork of HARP2 by
Diff: config.h
- Revision:
- 29:8cdb56a0fe57
- Parent:
- 27:24fd8e32511c
- Child:
- 30:b81274979e73
--- a/config.h Thu Jan 10 19:25:13 2013 +0000 +++ b/config.h Thu Jan 10 20:37:07 2013 +0000 @@ -5,6 +5,8 @@ #define WAIT_FOR_LOCK 0 // set to 1 to not open log file until gps lock #define UNLOCK_ON_FALL 0 // set to 1 to not signal parachute untill falling +#define RELEASE_AT_ALT 0 // set to 1 for release at target altitude (must also set UNLOCK_ON_FALL to 1) +#define ALARM 0 // set to 1 to key alarm on descent, 0 = no alarm const float target_lat = 39.921664; // for setting the target location! const float target_lon = -105.008167; @@ -17,4 +19,12 @@ const float BAT_GPS_MUL = 16.14; // values for calculating battery voltage const float BAT_MBED_MUL = 10.35; +const float SERVO_L_MAX = 0.0007; // servo calibration +const float SERVO_L_MIN = -0.0013; // servo calibration +const float SERVO_R_MAX = 0.0006; // servo calibration +const float SERVO_R_MIN = -0.0015; // servo calibration + +const int RELEASE_ALT = 4572; // 15k ft in meeters +const int ALARM_ALT = 2133; // altitude to key alarm on descent + #endif \ No newline at end of file