Commit graph

12 commits

Author SHA1 Message Date
Michael Hope 241770ced5 Fixed the breakage after linting. 2013-12-27 21:38:31 +01:00
Michael Hope adb805860e Updated everything to the Google style (yay cpplint!).
Deleted the unused code.
2013-12-27 21:35:37 +01:00
Michael Hope 2ad3d8da98 Changed Servos from static to an instance to match the other classes. 2013-12-27 20:16:04 +01:00
Michael Hope cbb20793c4 Switched to a 'fill' model. Pulled the send up to common code. 2013-12-18 23:58:39 +00:00
Michael Hope cff60a194e Add a minimal bit array just for pending events.
Switch message sending to setting deferred events that are checked
when the TX buffer is empty.
2013-12-18 23:52:02 +00:00
Michael Hope 6786609570 Add the PWM input system.
Switch to zero based to make the ranges easier.
Switch to a lower prescaler to give better fidelity.  Servo output is
now broken.
Send the input message on a timer.
2013-12-21 21:48:45 +01:00
Michael Hope 4ec2551835 Changed the XOR value so a escape doesn't become a null.
Added (untested) receive support to Link.
Added simple message dispatch.
Added a ping/pong handler for testing.
2013-12-20 21:16:01 +01:00
Michael Hope ff22d9982b Reworking the roverif to be more suited to the ATMEGA. 2013-12-17 20:48:07 +01:00
Michael Hope 02a22b48bf Hack around so the roverif builds on the ATMEGA. 2013-12-16 21:20:15 +01:00
Michael Hope b0368f7af0 Added debug routines.
Split the board specific code into a HAL API.
Added a POSIX HAL and hacked everything over to it.
2013-07-04 20:56:38 +02:00
Michael Hope 9c58df87ed Added the supervisor that monitors the inputs and arming state. 2012-07-28 22:14:02 +12:00
Michael Hope 9cf69f7866 Split the rover out into multiple less embarrising files. 2012-07-27 21:49:05 +12:00