Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev v2 #3

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2024/crescendo_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var config_data = `
{ "name": "Event",
"code": "e",
"type": "event",
"defaultValue": "2023tnkn",
"defaultValue": "2024casj",
"required": "true"
},
{ "name": "Match Level",
Expand Down
99 changes: 36 additions & 63 deletions 2024/crescendo_pit_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>",
"s": "Speaker<br>",
"b": "Both<br>"
}
},
{ "name": "Weight",
{ "name": "Can they hang from chain?",
"code": "wei",
"type": "number",
"defaultValue": "0"
},
{ "name": "Drivetrain",
"code": "drv",
"type": "radio",
"choices": {
"s": "Swerve<br>",
"w": "West Coast/Tank<br>",
"b": "Butterfly/Grashopper<br>",
"m": "Mechanum<br>",
"o": "Other"
},
"defaultValue": "o"
"yes_chain": "Yes with harmony<br>",
"half_chain": "Yes but no harmony<br>",
"no_chain": "No<br>"
}
},
{ "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)<br>",
"2": "L2 (6.75:1)<br>",
"3": "L3 (6.12:1)<br>",
"4": "L4 (5.14:1)<br>",
"o": "Other ratio (put in comments)<br>",
"x": "Not Swerve"
},
"defaultValue":"x"
"g_pickup": "Ground<br>",
"s_pickup": "Source<br>",
"b_pickup": "Both<br>"
}
},
{ "name": "Drivetrain Motor",
"code": "mot",
{ "name": "Can score trap?",
"code": "sr",
"type": "radio",
"choices": {
"n": "Neo<br>",
"f": "Falcon<br>",
"c": "CIM<br>",
"x": "Other<br>"
},
"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<br>",
"n_trap": "No<br>"
}
},
{ "name": "Scouting Method /<br>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<br>(eg. what do they generally do/specialize in?)",
"code": "mot",
"type": "text"
}
],
"auton": [
Expand Down
2 changes: 1 addition & 1 deletion resources/js/TBAInterface.js
Original file line number Diff line number Diff line change
@@ -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
*
Expand Down