|
Re: GUI WPILib Test Harness Released
This is an awesome idea. I hope to contribute to this in the near future!
A few comments as to what I've seen so far: - It's a bad idea to use wxWidgets library calls in the simulator. If you ever plan on moving to another GUI toolkit, you can't just rip out the current GUI and add a Qt or GTK interface without drastically changing your simulator. Also, what if someone wants a console interface to the simulator? I'm more than willing to help on this front; it looks like you only need thread synchronization from wxWidgets, which is very easy to port.
- A better approach in the long run, although more difficult, would be to implement the FPGA interface (the ChipObject classes and whatnot) rather than editing WPILib directly. Then WPILib can be run directly without need for modifications (that can easily be buggy).
Another good thing to implement would be a unit testing framework for WPILib.
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
|