|
Re: Need some feedback
We took a similar approach, except instead of having to register all of the modes in code somewhere, our mode manager enumerates all the files in a directory and registers them automatically if they contain the right class. Our 2012 code contains this pattern for autonomous mode if you're interested. I haven't released our 2013 code yet since I haven't had time to clean it up...
fake-wpilib is pretty useful. What problems have you had getting your environment set up? If you use the included test.sh/test.bat files and set your paths correctly, it should all just work for the most part...
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/ pynetworktables2js (NetworkTables for Python & Javascript)
2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award
Resources: FIRSTWiki (relaunched!) | My Software Stuff
|