*twitch*
March 1st, 2009 | by fish |I’ve been working on my second year project for the last …. 12 hours now. Most of the backend is done. It looks like this:
As I snapped this screenshot, I noticed that my BlueJ window was exactly 1337 pixels wide. That’s surely got to be a good sign, right?
Now, before someone goes off on a rant “Oh, NMEA parsing isn’t hard, I did it in a Python script!”. I’ve got to do a bit more than just updating Location information. I have to generically parse all NMEA sentences and check if they’re valid or not, and depending on whether they’re a Proprietary sentence or not I need to switch send the data to the right sort of object. I’ve got measurements coming in on the stream which gives me Temperature, Humidity, Pressure and vertical acceleration. I need to be able to dispatch these Measurements to the right places so they can be updated in the GUI. Also, each one of these Measurements needs to be associated with a Location. I also need to be able to throw Exceptions which can be sensibly handled by the clients. Also everything needs to be completely documented.
It’s not particularly hard, just big and long. The class to turn the GGA sentences into Locations was the easy bit.
Now: I’m going to watch some BSG and go to sleep before my shift in 10 hours.


