Commits

Author Commit Message Labels Comments Date
Cliff Biffle
Added tests for DroneState's remaining functionality.
Cliff Biffle
Improved tests for NavDataParser: now covers duplicate detection and out-of-sequence packet rejection.
Cliff Biffle
Commented out the bit test functions in DroneState -- they're useful documentation, but I'm not convinced they're the right interface (very low-level) and they're not being tested.
Cliff Biffle
Hooked the navdata tests into AllTests.
Cliff Biffle
Initial support for receiving and parsing nav sensor data from the drone.
Cliff Biffle
The AR.Drone Developer Guide contains an error on page 30: AT commands must be terminated by a carriage return, ASCII 13 -- not a line feed, ASCII 10. I determined this experimentally, though other places in the Developer Guide explicitly use the "\r" character escape, so I probably should have been suspicious.
Cliff Biffle
Added support for the CTRL message.
Cliff Biffle
Added a more precise test of sequence number generation.
Cliff Biffle
Small simplification in how captured text is accessed inside DroneControlSocketTest.
Cliff Biffle
Substantially refactored how messages are created and sent. The library is now much simpler to use, and DroneControlSocket can now be shared across multiple threads -- it will handle assigning sequential sequence numbers.
Cliff Biffle
Fixed a mistake in the last commit's refactoring: AllTests obviously cannot run a non-test class!
Cliff Biffle
Renamed AtCommandWriter -> ControlMessage. Step one of some refactoring.
Cliff Biffle
Improved documentation on the constant choices in DroneControlSocket, and discovered an error in the maximum packet size.
Cliff Biffle
Added an AllTests suite and a simple command-line hovering tool.
Cliff Biffle
Improved assertions and messaging in DroneControlSocketTest.
Cliff Biffle
UDP communication support.
Cliff Biffle
Modified AtCommandWriter to allow method chaining.
Cliff Biffle
Improved comments on AtCommandWriter.
Cliff Biffle
Removed the object model for AT commands -- it's simpler to fold writing into a single class, and it'll almost certainly be faster to boot.
Cliff Biffle
Initial implementation of the AT command set.