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

Revisions of main.cpp

Revision Date Message Actions
66:0f20870117b7 2018-06-19 XBee testing file transmission good. File  Diff  Annotate
65:2ac186553959 2018-06-19 Version with limit switches in output File  Diff  Annotate
63:6cb0405fc6e6 2018-06-18 Version with code updates on multi-dive (still testing) and PID inputs and fixed data transmissions so it's working very quickly now on USB. File  Diff  Annotate
61:f7437daae608 2018-06-18 chip only tests are good so far (checked through H bridge) File  Diff  Annotate
58:94b7fd55185e 2018-06-15 For checking the menu only. File  Diff  Annotate
57:ec69651c8c21 2018-06-14 Working version with debug and simple menu File  Diff  Annotate
56:48a8a5a65b82 2018-06-12 good stuff, rudder and everything.; ; Need to fix heading next. File  Diff  Annotate
55:f4ec445c42fe 2018-06-12 Working v2 File  Diff  Annotate
54:d4990fb68404 2018-06-08 heading not working File  Diff  Annotate
53:c0586fe62b01 2018-06-07 motors working in correct directions File  Diff  Annotate
52:f207567d3ea4 2018-06-06 version with non-working motors File  Diff  Annotate
51:c5c40272ecc3 2018-06-04 FSG_PCB_V1 File  Diff  Annotate
50:1d59ea7c7a1c 2018-02-15 02/15/2018 LASR pool-tested code. FSM dive, check_tuning, Find_Neutral, all seemed to work successfully. Rudder disabled for now. File  Diff  Annotate
49:47ffa4feb6db 2018-02-15 Working pool-tested code. Rudder disabled (some weird coupling issue). File  Diff  Annotate
48:20e681885161 2018-02-15 double-checking some data File  Diff  Annotate
47:fb3c7929d3f3 2018-02-15 everything except sd card loader...what's up File  Diff  Annotate
45:16b8162188ca 2018-02-15 version for USB testing with reduced class sizes File  Diff  Annotate
43:891baf306e0a 2018-02-14 added new configfileIO File  Diff  Annotate
39:58375ca6b6ff 2017-12-21 Pool-tested code with Mbed logging and OpenLog (SD card) File  Diff  Annotate
38:83d06c294807 2017-12-21 system time and BCE and Battery logger fixes File  Diff  Annotate
37:357e98a929cc 2017-12-21 RevA working without batt and BCE File  Diff  Annotate
36:966a86937e17 2017-12-20 Working version for pool testing File  Diff  Annotate
35:2f66ea4863d5 2017-12-20 Previous version before MBED save fixes File  Diff  Annotate
34:9b66c5188051 2017-12-20 Problem with log file on mbed File  Diff  Annotate
32:f2f8ae34aadc 2017-12-20 revA File  Diff  Annotate
31:8616e397c22d 2017-12-06 Changes to notes File  Diff  Annotate
30:2964617e7676 2017-12-06 Used Friday 12/01/17 code with find_neutral exit fix and sub-FSM fix (starting in NEUTRAL_SINKING) File  Diff  Annotate
28:16c83a2fdefa 2017-12-01 Pool tested code from Friday 12/1/17 File  Diff  Annotate
27:0a5b90cd65d6 2017-11-29 depthTolerance variable removed 11/29 File  Diff  Annotate
24:c7d9b5bf3829 2017-11-29 Xbee / Pool version of code with latest code morning of 11/29/17 File  Diff  Annotate
23:434f04ef1fad 2017-11-28 Changes from 11/28/17 10:30 am pool test File  Diff  Annotate
22:a10ee088403b 2017-11-23 Added ability for battery to move to find the pitch level. Added a sub state (uses fall-thru) to find level before sinking. File  Diff  Annotate
21:38c8544db6f4 2017-11-22 A few large changes and a few small changes. Works on the bench. File  Diff  Annotate
20:8987a9ae2bc7 2017-11-22 Re-Publish of Dan's mods File  Diff  Annotate
17:7c16b5671d0e 2017-11-21 FSG code commit 11/21 File  Diff  Annotate
16:3363b9f14913 2017-11-06 Update to FSG test program used in the LASR pool File  Diff  Annotate
15:2a8cfd3f1cf5 2017-10-31 POOL TESTED! Tuned PID gains, put in depth/pitch files. Added keyboard tuning of neutral positions since FIND_NEUTRAL won't work right. Only suggested FSM change is for DIVE to timeout to RISE, rather than EMERGENCY_CLIMB. File  Diff  Annotate
14:85b64a4d08e8 2017-10-31 New depth sensor class with tare and oversampling. File  Diff  Annotate
13:84fcbe1dcd62 2017-10-30 Tested hardware for bce and made several pause fixes. Homing works. Added offset to pitch and depth.txt files, and the control loop works. PID gain for depth had to be negative. Next is to replace the motor and test pitch loop. File  Diff  Annotate
12:a0519d11d2b6 2017-10-30 Changed stops and starts to pause and unpause. Added _init true flag to stop function File  Diff  Annotate
11:3b241ecb75ed 2017-10-27 This version has been in the pool, working with all the hardware. Had occasional string pot problems and got stuck in RISE, letting the battery stall out against the endcap. File  Diff  Annotate
10:085ab7328054 2017-10-23 checked out on the hardware File  Diff  Annotate
5:15bd96205bb2 2017-10-20 Linear actuator tested 10/19/17 File  Diff  Annotate
4:66f13fbb035d 2017-10-10 First full working build of the "black box" hardware driver paradigm. Successfully tested the homing function of the linear actuator on the BCE. Also tested the config reading and control loop of the BCE. File  Diff  Annotate
3:7824127c5cfd 2017-10-06 Finally got the ConfigFile functions to work as they should File  Diff  Annotate
2:892b58e56712 2017-10-06 cleaned up and re-factored code to make some classes more general and extendable File  Diff  Annotate
1:133216180125 2017-04-27 Fixed errors stopping file from compiling File  Diff  Annotate
0:ea293bbf9717 2017-04-27 Program to run NRL BCE File  Diff  Annotate