Generation 2 of the Harp project
Dependencies: Servo TMP36 GZ chan_fatfs_sd buffered-serial1 nmea_parser watchdog mbed-rtos mbed
Diff: main.cpp
- Revision:
- 23:5a7b5db55be5
- Parent:
- 22:becb67846755
- Child:
- 24:7477105103e5
diff -r becb67846755 -r 5a7b5db55be5 main.cpp --- a/main.cpp Thu Dec 13 23:08:10 2012 +0000 +++ b/main.cpp Thu Dec 13 23:56:31 2012 +0000 @@ -50,11 +50,6 @@ strcpy(message->line, buffer); queue_gps_line.put(message); - // debugging - //pc.printf("%d, %f, %f, %f\r\n", nmea.get_date(), nmea.get_time(), nmea.get_msl_altitude(), nmea.get_altitude_ft()); - //pc.printf("%f, %f\r\n", nmea.get_dec_longitude(), nmea.get_dec_latitude()); - //pc.printf("%f, %f, %f\r\n", nmea.calc_dist_to_mi(lat,lon), nmea.calc_dist_to_km(lat,lon), nmea.calc_course_to(lat,lon)); - // test altitude direction - release parachute thread to run if(line_type == RMC && nmea.get_lock()) { if(UNLOCK_ON_FALL) {