Thread created automatically to discuss a document in CD-Media.
FRC 2018 Component OPR
by: Dan Waxman
Component OPR through 03/25/2018 for FIRST PowerUP
While venturing into the dangerous land of “bored and caffeinated,” I decided to generate 2018 COPR using SciPy and some data I found on ChiefDelphi. I only generated for a few components which I thought were useful (auto scale, auto switch, teleop scale, teleop switch, vault), but you could easily generate whatever you want by yourself. Here’s the script I used, you’ll need to install SciPy and Numpy if you haven’t already.
This was all using Ether’s spreadsheets which he posted, but could easily be adapted to the TBA/FRC API to make it possible to generate during events. I just went through creating a set of teams, generated sparse matrices for those, then filled them in with components, then approximated the results and wrote them out to a CSV file. If I did something wrong or if you have any suggestions let me know.
component_opr.CSV (256 KB)
component_opr.CSV (264 KB)