this version has all of Jim's fixes for reading the GPS and IMU data synchronously

Dependencies:   MODSERIAL SDFileSystem mbed SDShell CRC CommHandler FP LinkedList LogUtil

Revisions of main.cpp

Revision Date Message Actions
27:94a6f0589993 2013-06-21 added comments to main.cpp File  Diff  Annotate
26:c2208b0ff78b 2013-06-21 some changes by jek before sg comments File  Diff  Annotate
25:2287bd8c9877 2013-06-20 added protection for GPS time computation when CRC failure occurs File  Diff  Annotate
24:353322495742 2013-05-27 POSVEL lat & lon transferred with 6 fraction digits rather than 5. File  Diff  Annotate
22:1cbdbc856660 2013-05-19 added WMsg to all messages to PC to improve startup. Blink LEDs on 1PPS to indicate main loop activity File  Diff  Annotate
20:3f04a0bde484 2013-05-14 adjusted download procedures to get more insight into occasional failures. File  Diff  Annotate
19:26c5298a7138 2013-05-13 Fixed SDShell (fixed LinkedList) that hung the deconstructor. Since the object was local to a function the bug in remove reared it's head. File  Diff  Annotate
18:111025f447d8 2013-05-10 more attempts to orderly shutdown from the sdshell File  Diff  Annotate
17:71900da6ced6 2013-05-09 added attempts to shut down and restart smoothly File  Diff  Annotate
16:2aea22130ba1 2013-05-08 incorporated SDShell and verified basic functionality with mbed_test - working, sg- File  Diff  Annotate
15:f3b92958cf5a 2013-05-07 removed a few printf's at the start t speed up PC synchronization. File  Diff  Annotate
14:009d4671f0e3 2013-05-06 code from latest testing. Possibly no changes from last code. File  Diff  Annotate
13:d5026299c54e 2013-05-06 updated comments; File  Diff  Annotate
12:c2f60b3ceb74 2013-05-06 Merged program to add SDShell File  Diff  Annotate
10:37ff5b97cf98 2013-05-05 tinkered with the termination process. File  Diff  Annotate
9:893481b2e488 2013-05-05 tweaked parameters for the trigger message receive. Used to test with mbed_test where 250 images collected. File  Diff  Annotate
7:1bec23c68a3c 2013-05-06 made changes to PCMessage and main for the log tx'fer File  Diff  Annotate
6:71da5b99de97 2013-05-05 the logic for receiving PC messages was revised. Now we look for a 4-byte preamble (WMsg) as a message start and do a reset if we don't find a sequence of these 4 bytes at an assumed start of a message. File  Diff  Annotate
5:2ce1be9d4bef 2013-05-04 fix possible error in the message buffer overrun. File  Diff  Annotate
4:dda2ab5cc643 2013-05-04 correction to trigger fire logic to get rid of the 10msec Wait() in the main loop. Tested with mbed_test with 250 images collected at 15 sec intervals. File  Diff  Annotate
3:e1a884e5325a 2013-05-03 added WMsg to front of startup messages cause these are expected by the PC connection procedures. File  Diff  Annotate
2:7039be3daf6e 2013-05-03 Added an auto file-open when POSVEL message is received. Added auto-close when the elapsed time between POSVEL messages is > 60sec This reduces the necessary startup procedures on the PC side. Also prevents loss of data if the PC fails. File  Diff  Annotate
1:8e24e633f8d8 2013-04-30 Jim's version dated 30-apr-13 File  Diff  Annotate
0:432b860b6ff7 2013-04-22 does not work yet with mbed_test. Correctly collects GPS and IMU data. File  Diff  Annotate