Removed debugging println() call.
Added a testing model for HIL decoding. Blinks an LED on successful parsing of a sensor message packet.
Fixed most of the problems with HIL. This was all working as of commit e41d2c1d.

LEDs D3-D6 have been repurposed to display the status of all the wires that affect the reset line.
HIL status display is now LED D4. It blinks off when an HIL packet is successfully received.
Refactored some of the model to reduce errors. Mostly stuff related to unspecified sampling times on source blocks with a few saturation warnings thrown in.
Move the 5s down-step function generator block from here into uSimLib and linked to it there.
Updated models to refer to new uSimLib library.
Added condition for the HIL data timeout signal causing a reset: the processor must be in HIL mode. Makes sense to me, but hasn't and won't be tested for a while here.
HIL is now fixed. The problem was in the Auto/Manual Switch block. Bypassing this block restored HIL functionality.

The model stands broken from it's intended functionality in that RC control will not work. GPS reception will similarly not work as the configuration of the UART2  isn't done properly anymore.
Removed some unnecessary displays/scopes from the model.
Inverted the switching login in Auto/Manual Switch to be correct.

HIL is now mostly working. The controller doesn't follow the path correctly, though. The configuration of the UART for GPS use is still incorrect.
Large number of changes to fix the waypoint tracking code. The problem was that the settings for triggering a change to a new track of waypoints wasn't updated to the new 0..1000 range for the RC inputs and so was triggering after a little while. Updating those values to the proper ones in that range fixed the problem (200 and 800).

Modified the groundstation and code_gen to display the current and next waypoints. This included upping the baud rate from 57600 to 115200 for UART1.

Waypoints are now stored as uint32s instead of doubles. There was no reason to keep them as floating point, so I changed them. I figure that a meter is a high enough resolution for the boat considering its size.

The calibration triggers from the RC input now account for transitions to disconnected by ignoring them.
First draft of a program for displaying the boat's current sensor and actuator state. Outputs results via 3 LEDs and UART2 on the Explorer16 devboard.
Added GPS_test.mdl for testing GPS reception and setting. Basically a stripped-down version of code_gen.mdl that only includes GPS-related code.

Altered uart2.c and gps.c to be more modular. Now gps.c includes uart2.c code calls, but not vice versa. uart2.c is now completely independent from gps.c. The code for initializing the GPS unit has been moved into gps.c to facilitate this.
code_gen.mdl now parses GPS input properly at 4800 baud. I've connected this reception to LED D8 such that it'll flash whenever a message is received and successfully parsed.
Altered GPS struct within code_gen.
  - courseOverGround and speedOverGround are now floats
  - horizontalDilutionOfSolution is now included as a float
  - Added fix (whether it was an accurate GPS read) and satellites (number of satellites used for fix)

The chip waits until GPS has found a valid fix (by watching for fix and newData) instead of just waiting for a new set of parsed data.
The rudder sensors are now output to the groundStation and displayed. Going to be useful for debugging hardware problems onboard.
Split groundStation code up into separate files to make more sense.
Added raw GPS data to the groundStation.
Modified the groundStation to use nicer fonts (Deja Vu Mono) and to have bold titles for the output data).
Modified the resetTrack and nextTrack command signals to be more robust and easier to trigger without watching the Explorer16 status LEDs directly.
Fixed the speed command in code_gen to max out at 1000.
Modified groundStation to scale the L2 vector down further to a reasonable size.
Added waypoint0 and waypoint1 data to the data recorder.
Each recorded run from the groundStation is now mutually exclusive from the others.