Skip to content

Commit

Permalink
Merge pull request #1 from Team302/for_FTC
Browse files Browse the repository at this point in the history
Changing to FTC data
  • Loading branch information
lstone24 authored Feb 27, 2024
2 parents e9d9056 + 3b66a11 commit 4169922
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 187 deletions.
96 changes: 78 additions & 18 deletions 2023/CU_Pit_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var config_data = `
"code": "t",
"type": "number"
},
{ "name": "Width",
{ "name": "Width (bumpers included)",
"code": "wid",
"type": "number",
"defaultValue": "0"
Expand All @@ -24,7 +24,6 @@ var config_data = `
"choices": {
"s": "Swerve<br>",
"w": "West Coast/Tank<br>",
"b": "Butterfly/Grashopper<br>",
"m": "Mechanum<br>",
"o": "Other"
},
Expand All @@ -36,14 +35,13 @@ var config_data = `
"size": 20,
"maxSize": 50
},
{ "name": "Swerve Ratio",
{ "name": "Swerve Ratio (speed)",
"code": "sr",
"type": "radio",
"choices": {
"1": "L1<br>",
"2": "L2<br>",
"3": "L3<br>",
"4": "L4<br>",
"1": "L1 (8.14:1 or 12-13 ft/sec)<br>",
"2": "L2 (6.75:1 or 14-16 ft/sec)<br>",
"3": "L3 (6.12:1 or 16-18 ft/sec)<br>",
"x": "Not Swerve"
},
"defaultValue":"x"
Expand All @@ -59,20 +57,82 @@ var config_data = `
},
"defaultValue":"x"
},
{ "name": "Floor pickup Cones",
"code": "fco",
"type": "bool"
{ "name": "Game piece pick up location",
"code": "pul",
"type":"radio",
"choices": {
"d": "Double Substation only<br>",
"s": "Single Substation<br>",
"f": "Floor pick-up only<br>",
"b": "All locations<br>",
"x": "Can not manipulate game pieces"
},
"defaultValue": "x"
},
{ "name": "Floor pick up",
"code": "fpu",
"type":"radio",
"choices": {
"u": "Cubes only<br>",
"o": "Cones only<br>",
"b": "Both<br>",
"x": "Can not manipulate game pieces"
},
"defaultValue": "x"
},
{ "name": "Floor pickup Cubes",
"code": "fcu",
"type": "bool"
{ "name": "Cone pick up orientation<br>from floor",
"code": "coo",
"type": "radio",
"choices": {
"u": "Upright only<br>",
"s": "On side only<br>",
"a": "All orientation<br>",
"x": "Cannot pick up<br>cones off the floor"
},
"defaultValue":"x"
},
{ "name": "Cross Charging Station",
"code": "ccs",
"type": "bool"
{ "name": "Auton Start Positions<br>(include all options)<br>(if can start from anywhere, leave blank)",
"code": "asp",
"type": "clickable_image",
"filename": "2023/field_image.png",
"shape": "circle 5 black red true"
},
{ "name": "Auton Scoring<br>(highest scoring option)",
"code": "as",
"type": "clickable_image",
"filename": "2023/grid_image.png",
"dimensions": "9 4",
"clickRestriction": "onePerBox",
"toggleClick": "true",
"showFlip": "false",
"showUndo": "false",
"shape": "circle 12 black red true"
},
{ "name": "Confidence engaging in auton",
"code": "aec",
"type":"radio",
"choices": {
"1": "1 (not tested at all, no confidence)<br>",
"2": "2<br>",
"3": "3<br>",
"4": "4<br>",
"5": "5 (highly tested, repeatable)<br>",
"x": "Cannot engage in auton"
},
"defaultValue": "x"
},
{ "name": "Teleop scoring ability<br>(bottom, middle, top, or all rows)",
"code": "ts",
"type": "text",
"size": 20,
"maxSize": 250
},
{ "name": "# of cycles on teleop",
"code": "tc",
"type": "counter"
},
{ "name": "Autos",
"code": "aut",
{ "name": "Comments",
"code": "co",
"type": "text",
"size": 20,
"maxSize": 250
Expand Down
Loading

0 comments on commit 4169922

Please sign in to comment.