virtuald
03-04-2014, 23:32
This code is released from Team 1418's 2014 robot. We used python for the robot software, and also implemented custom driver station software using Python & PyGTK.
1418 had a dominating performance at Richmond at the Virginia Regional, finishing as the #2 seed, and led the #2 alliance to the finals with teams 2383 and 435. They were awarded the Industrial Design award for a variety of reasons, including their simple but effective robot design, multiple autonomous modes and useful touchscreen driver station interface.
At the Greater DC Regional, they had a rocky start and ended up finishing as the 7th seed, but led the #6 alliance to the finals with teams 1885 and 2537.
Robot Code highlights:
Full pyfrc (https://pypi.python.org/pypi/pyfrc) integration for testing & robot simulation
Unit tests over the robot code with 70% code coverage
Automation of core catapult functions
Complex autonomous mode support
Multiple working autonomous modes used in competition
Two balls - uses a gyro to make sure the robot drives straight
Single ball shoot
Single ball hot goal shoot
Automatic support for tuning the autonomous mode parameters via the UI
The autonomous mode framework developed for this season is pretty cool, and we found it significantly easier to develop autonomous modes using this framework. After some cleanup, it will be integrated into pyfrc so others can use it.
Driver Station UI Highlights:
Comprehensive autonomous mode support
Fine tuned autonomous mode parameter tuning
Multiple autonomous modes supported
Graphing of robot catapult parameters
Visual display of robot status
Most robot features can be controlled from the UI
Image processing features:
Interactive tuning of threshold parameters
Comprehensive debugging support
Visual indication of hot goal detection
Static and live image processing
Can support multiple cameras
"Hot goal in a box" mode
Start the dashboard only showing the camera feed and the image processing tools.
Transmits 'IsHotLeft' and 'IsHotRight' to the robot via NetworkTables
You can download the code at http://www.virtualroadside.com/FRC/#VaeVictis2014
1418 had a dominating performance at Richmond at the Virginia Regional, finishing as the #2 seed, and led the #2 alliance to the finals with teams 2383 and 435. They were awarded the Industrial Design award for a variety of reasons, including their simple but effective robot design, multiple autonomous modes and useful touchscreen driver station interface.
At the Greater DC Regional, they had a rocky start and ended up finishing as the 7th seed, but led the #6 alliance to the finals with teams 1885 and 2537.
Robot Code highlights:
Full pyfrc (https://pypi.python.org/pypi/pyfrc) integration for testing & robot simulation
Unit tests over the robot code with 70% code coverage
Automation of core catapult functions
Complex autonomous mode support
Multiple working autonomous modes used in competition
Two balls - uses a gyro to make sure the robot drives straight
Single ball shoot
Single ball hot goal shoot
Automatic support for tuning the autonomous mode parameters via the UI
The autonomous mode framework developed for this season is pretty cool, and we found it significantly easier to develop autonomous modes using this framework. After some cleanup, it will be integrated into pyfrc so others can use it.
Driver Station UI Highlights:
Comprehensive autonomous mode support
Fine tuned autonomous mode parameter tuning
Multiple autonomous modes supported
Graphing of robot catapult parameters
Visual display of robot status
Most robot features can be controlled from the UI
Image processing features:
Interactive tuning of threshold parameters
Comprehensive debugging support
Visual indication of hot goal detection
Static and live image processing
Can support multiple cameras
"Hot goal in a box" mode
Start the dashboard only showing the camera feed and the image processing tools.
Transmits 'IsHotLeft' and 'IsHotRight' to the robot via NetworkTables
You can download the code at http://www.virtualroadside.com/FRC/#VaeVictis2014