forked from applepi-2067/PiScout-2016
-
Notifications
You must be signed in to change notification settings - Fork 6
Game Specific Updates
Kevin-OConnor edited this page Nov 15, 2017
·
6 revisions
- Determine what data you want scouts to capture and what statistical data you want to store (e.g. in 2017, we had scouts capture High Fuel and Low Fuel, but the statistical data simply represented Fuel Points)
- Use Google Sheets to create a scouting sheet that captures the desired data. A template can be found here. While the Team Number and Match info fields are in the template, you may move them and update the software accordingly when updating the rest of the sheet data.
Note: Make sure to copy any changes down to the second and third sections of the form!
- Update the Dictionaries at the top of gamespecific.py with the appropriate field names for the scouting data, statistical data, and chart data
- Use the sheet layout to update the processSheet method in gamespecific.py
- Use the categories to update the generateTeamText method in gamespecific.py to display the desired text in the table on the team page
- Update autoFlag to automatically flag any entries with conflicting data. If there are no potential conflicts, simply return 0
- Update calcTotals to perform any mapping between Scout fields and Average fields
- Update generateChartData to make any necessary mappings between Scout fields and Chart fields
- Update predictScore to use Scout fields to predict an alliances score and any additional RP earned
In web/static/index.html search for Set Event to locate the drop-down menu for events. Update to match the events you plan to go to using the event codes from The Blue Alliance (these are the year followed by the FIRST event code which can be found on this page: https://frc-events.firstinspires.org/2018/events). If you add events during the season, simply come back and add a new item.
Update event.py to set the default event to your first event. Then during the season, to prep for each event, set event.py to the new event on both the local (so the data ends up in the correct event) and remote (so the webpage defaults to the desired events) servers.