Quote:
Originally Posted by Andrew Schreiber
I know 254 put together a FakeWPILib they were using last year, I'm currently working on getting that up and running locally. Hopefully after that it'll be simple enough to get it running under CI. I'll let you know if I make any progress. Obviously this still leaves C++ and LV teams.
|
For C++, 971 puts the hardware interface code in a separate process and uses custom message passing to communicate the hardware state to the control loops, etc. We can then write the hardware interface code once, test it on the hardware, and then move on. We are able to then write unit tests which simulate the hardware and generate messages with simulated sensors and physics. This allows us to do all our controls development before the hardware has been finished.