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
Diff: PCMessaging.h
- Revision:
- 24:353322495742
- Parent:
- 22:1cbdbc856660
- Child:
- 26:c2208b0ff78b
--- a/PCMessaging.h Thu May 23 03:44:00 2013 +0000 +++ b/PCMessaging.h Mon May 27 19:30:57 2013 +0000 @@ -249,7 +249,7 @@ solReady = 'Y'; } - toPC.printf("WMsg POSVEL %5.3lf %1d %c %8.5lf %9.5lf %4.3lf %4.3lf %4.3lf %4.3lf\n", + toPC.printf("WMsg POSVEL %5.3lf %1d %c %8.6lf %9.6lf %4.3lf %4.3lf %4.3lf %4.3lf\n", posTime, posMsg.numSolSV, solReady, @@ -317,7 +317,7 @@ fpNav = fopen("/sd/Data/NAV.bin", "wb"); wait_ms(10); } - if (fpNav != NULL) //if the fie was already opened we will respond to the PC with a Y + if (fpNav != NULL) //if the file was already opened we will respond to the PC with a Y { recChar = 'Y'; }