most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown
Dependencies: mbed MODSERIAL FATFileSystem
Diff: main.cpp
- Revision:
- 81:7ff2c6467892
- Parent:
- 80:4e5d306d695b
- Child:
- 82:0981b9ada820
diff -r 4e5d306d695b -r 7ff2c6467892 main.cpp --- a/main.cpp Wed Oct 24 16:07:10 2018 +0000 +++ b/main.cpp Thu Nov 08 22:30:32 2018 +0000 @@ -117,7 +117,7 @@ void setup() { xbee().baud(115200); - xbee().printf("\n\n\r 2018-08-14 FSG PCB XBee\n\n\r"); + xbee().printf("\n\n\r 2018-11-08 FSG PCB XBee\n\n\r"); //pc().baud(57600); @@ -226,7 +226,8 @@ { ++tNow; - //run finite state machine fast when transmitting data + //Note to self: Retest data transmission code. + //This is currently running at 0.1 second intervals (10 hz) and was working well for data transmission if (current_state == TX_MBED_LOG or current_state == RX_SEQUENCE) { if ( (tNow % 100) == 0 ) { // 0.01 second intervals (100 Hz) fsm_loop = true;