diff --git a/2024/crescendo_config.js b/2024/crescendo_config.js index e186e7d5b..2556383e3 100644 --- a/2024/crescendo_config.js +++ b/2024/crescendo_config.js @@ -15,7 +15,7 @@ var config_data = ` { "name": "Event", "code": "e", "type": "event", - "defaultValue": "2023tnkn", + "defaultValue": "2024casj", "required": "true" }, { "name": "Match Level", diff --git a/2024/crescendo_pit_config.js b/2024/crescendo_pit_config.js index ce66a3f1d..22411a39f 100644 --- a/2024/crescendo_pit_config.js +++ b/2024/crescendo_pit_config.js @@ -9,83 +9,56 @@ var config_data = ` "code": "t", "type": "number" }, - { "name": "Width", + { "name": "Scoring capability", "code": "wid", - "type": "number", - "defaultValue": "0" + "type": "radio", + "choices": { + "a": "Amp
", + "s": "Speaker
", + "b": "Both
" + } }, - { "name": "Weight", + { "name": "Can they hang from chain?", "code": "wei", - "type": "number", - "defaultValue": "0" - }, - { "name": "Drivetrain", - "code": "drv", "type": "radio", "choices": { - "s": "Swerve
", - "w": "West Coast/Tank
", - "b": "Butterfly/Grashopper
", - "m": "Mechanum
", - "o": "Other" - }, - "defaultValue": "o" + "yes_chain": "Yes with harmony
", + "half_chain": "Yes but no harmony
", + "no_chain": "No
" + } }, - { "name": "Other Drivetrain", - "code": "odt", - "type": "text", - "size": 20, - "maxSize": 50 + { "name": "Average Cycle time", + "code": "drv", + "type": "number" }, - { "name": "Swerve Ratio", - "code": "sr", + { "name": "Average Cycles", + "code": "drv", + "type": "number" + }, + { "name": "Pickup", + "code": "odt", "type": "radio", "choices": { - "1": "L1 (8.14:1)
", - "2": "L2 (6.75:1)
", - "3": "L3 (6.12:1)
", - "4": "L4 (5.14:1)
", - "o": "Other ratio (put in comments)
", - "x": "Not Swerve" - }, - "defaultValue":"x" + "g_pickup": "Ground
", + "s_pickup": "Source
", + "b_pickup": "Both
" + } }, - { "name": "Drivetrain Motor", - "code": "mot", + { "name": "Can score trap?", + "code": "sr", "type": "radio", "choices": { - "n": "Neo
", - "f": "Falcon
", - "c": "CIM
", - "x": "Other
" - }, - "defaultValue":"x" - }, - { "name": "# of Batteries", - "code": "nob", - "type": "number" - }, - { "name": "Floor pickup Notes", - "code": "fpu", - "type": "bool" - }, - { "name": "Autos", - "code": "aut", - "type": "text", - "size": 20, - "maxSize": 250 + "y_trap": "Yes
", + "n_trap": "No
" + } }, - { "name": "Scouting Method /
Program (ScoutingPASS?)", - "code": "sct", - "type": "text", - "size": 20, - "maxSize": 250 + { "name": "Auto strat", + "code": "mot", + "type": "text" }, - { "name": "Comments", - "code": "co", - "type": "text", - "size": 20, - "maxSize": 250 + { "name": "Additional notes
(eg. what do they generally do/specialize in?)", + "code": "mot", + "type": "text" } ], "auton": [ diff --git a/resources/js/TBAInterface.js b/resources/js/TBAInterface.js index 8887e1e4b..a0c4c9bd5 100644 --- a/resources/js/TBAInterface.js +++ b/resources/js/TBAInterface.js @@ -1,7 +1,7 @@ // TBAInterface funcitons to pull data from TheBlueAlliance.com var teams = null; var schedule = null; -var authKey = "uTHeEfPigDp9huQCpLNkWK7FBQIb01Qrzvt4MAjh9z2WQDkrsvNE77ch6bOPvPb6"; +var authKey = "zdg1CFOM0AojfMxByypNJKk7E0d4POvHsdNClZ9Hj3ov0ryfm46ElFwZ9QeL6JEU"; /** * Get list of teams in event *