|
| 1 | +var config_data = ` |
| 2 | +{ |
| 3 | + "title":"Scouting PASS 2020", |
| 4 | + "page_title":"InFInItE RECHARGE", |
| 5 | + "version":"0.01", |
| 6 | + "schedule_file":"2020mokc.js", |
| 7 | + "elements":{ |
| 8 | + "prematch": { |
| 9 | + "Scouter Initials": { |
| 10 | + "code":"s", |
| 11 | + "type":"scouter", |
| 12 | + "size":5, |
| 13 | + "maxSize":5, |
| 14 | + "required":"true" |
| 15 | + }, |
| 16 | + "Event":{ |
| 17 | + "code":"e", |
| 18 | + "type":"event", |
| 19 | + "defaultValue":"2020mokc", |
| 20 | + "required":"true", |
| 21 | + "disabled":"true" |
| 22 | + }, |
| 23 | + "Match Level":{ |
| 24 | + "code":"l", |
| 25 | + "type":"level", |
| 26 | + "choices":{ |
| 27 | + "qm":"Quals<br>", |
| 28 | + "ef":"Eighth-Final<br>", |
| 29 | + "qf":"Quarter-Final<br>", |
| 30 | + "sf":"Semi-Final<br>", |
| 31 | + "f":"Final" |
| 32 | + }, |
| 33 | + "defaultValue":"qm", |
| 34 | + "required":"true" |
| 35 | + }, |
| 36 | + "Match #":{ |
| 37 | + "code":"m", |
| 38 | + "type":"match", |
| 39 | + "min":1, |
| 40 | + "max":100, |
| 41 | + "required":"true" |
| 42 | + }, |
| 43 | + "Robot": { |
| 44 | + "code":"r", |
| 45 | + "type":"robot", |
| 46 | + "choices":{ |
| 47 | + "r1":"Red-1", |
| 48 | + "b1":"Blue-1<br>", |
| 49 | + "r2":"Red-2", |
| 50 | + "b2":"Blue-2<br>", |
| 51 | + "r3":"Red-3", |
| 52 | + "b3":"Blue-3" |
| 53 | + }, |
| 54 | + "required":"true" |
| 55 | + }, |
| 56 | + "Team #": { |
| 57 | + "code":"t", |
| 58 | + "type":"team", |
| 59 | + "min":1, |
| 60 | + "max":99999 |
| 61 | + }, |
| 62 | + "Auto Start Position": { |
| 63 | + "code":"as", |
| 64 | + "title": "Auto Start Position", |
| 65 | + "type":"field_image", |
| 66 | + "filename":"2020/field_image.png" |
| 67 | + } |
| 68 | + }, |
| 69 | + "auton": { |
| 70 | + "Exit line": { |
| 71 | + "code":"ae", |
| 72 | + "title": "Exit Line", |
| 73 | + "type":"bool" |
| 74 | + }, |
| 75 | + "Lower Port": { |
| 76 | + "code":"al", |
| 77 | + "title": "Lower Port Scores", |
| 78 | + "type":"counter" |
| 79 | + }, |
| 80 | + "Outer Port": { |
| 81 | + "code":"ao", |
| 82 | + "title": "Outer Port Scores", |
| 83 | + "type":"counter" |
| 84 | + }, |
| 85 | + "Auto Aquire PCs": { |
| 86 | + "code":"aa", |
| 87 | + "title": "Picked up more PC", |
| 88 | + "type":"bool" |
| 89 | + }, |
| 90 | + "Trench Run Auto": { |
| 91 | + "code":"at", |
| 92 | + "title": "Trench Run", |
| 93 | + "type":"bool" |
| 94 | + }, |
| 95 | + "Opp Trench Run Auto": { |
| 96 | + "code":"ax", |
| 97 | + "title": "Opponents Trench Run", |
| 98 | + "type":"bool" |
| 99 | + } |
| 100 | + }, |
| 101 | + "teleop": { |
| 102 | + "Lower Port": { |
| 103 | + "code":"lp", |
| 104 | + "title": "Lower Port Scores", |
| 105 | + "type":"counter" |
| 106 | + }, |
| 107 | + "Outer Port": { |
| 108 | + "code":"op", |
| 109 | + "title": "Outer Port Scores", |
| 110 | + "type":"counter" |
| 111 | + }, |
| 112 | + "Rotation Control": { |
| 113 | + "code":"rc", |
| 114 | + "title": "Rotation Control", |
| 115 | + "type":"pass_fail", |
| 116 | + "choices":{ |
| 117 | + "pass":"Pass<br>", |
| 118 | + "fail":"Fail<br>", |
| 119 | + "x":"Not Attempted" |
| 120 | + }, |
| 121 | + "defaultValue":"x" |
| 122 | + }, |
| 123 | + "Position Control": { |
| 124 | + "code":"pc", |
| 125 | + "title": "Position Control", |
| 126 | + "type":"pass_fail", |
| 127 | + "choices":{ |
| 128 | + "pass":"Pass<br>", |
| 129 | + "fail":"Fail<br>", |
| 130 | + "x":"Not Attempted" |
| 131 | + }, |
| 132 | + "defaultValue":"x" |
| 133 | + }, |
| 134 | + "Shooting Spot": { |
| 135 | + "code":"ss", |
| 136 | + "title": "Shooting Spot", |
| 137 | + "type":"field_image", |
| 138 | + "filename":"2020/field_image.png" |
| 139 | + } |
| 140 | + }, |
| 141 | + "endgame": { |
| 142 | + "Climb": { |
| 143 | + "code":"c", |
| 144 | + "title": "Climb", |
| 145 | + "type":"pass_fail", |
| 146 | + "choices":{ |
| 147 | + "pass":"Pass<br>", |
| 148 | + "fail":"Fail<br>", |
| 149 | + "x":"Not Attempted" |
| 150 | + }, |
| 151 | + "defaultValue":"x" |
| 152 | + }, |
| 153 | + "Balanced": { |
| 154 | + "code":"b", |
| 155 | + "title": "Balanced", |
| 156 | + "type":"bool" |
| 157 | + }, |
| 158 | + "Climb Assist": { |
| 159 | + "code":"ca", |
| 160 | + "title": "Assisted Climb", |
| 161 | + "type":"radio", |
| 162 | + "choices":{ |
| 163 | + "x":"Not Attempted<br>", |
| 164 | + "a":"Lifted another robot<br>", |
| 165 | + "l":"Lifted by another robot<br>", |
| 166 | + "f":"Failed buddy climb" |
| 167 | + }, |
| 168 | + "defaultValue":"x" |
| 169 | + }, |
| 170 | + "Balanced After Climb": { |
| 171 | + "code":"cb", |
| 172 | + "title": "Balanced after climb", |
| 173 | + "type":"pass_fail", |
| 174 | + "choices":{ |
| 175 | + "pass":"Pass<br>", |
| 176 | + "fail":"Fail<br>", |
| 177 | + "x":"Not Attempted" |
| 178 | + }, |
| 179 | + "defaultValue":"x" |
| 180 | + }, |
| 181 | + "Num of Robots Climbed": { |
| 182 | + "code":"cn", |
| 183 | + "title": "# of alliance bots climbed", |
| 184 | + "type":"counter" |
| 185 | + }, |
| 186 | + "Climb Speed": { |
| 187 | + "code":"cs", |
| 188 | + "title": "Climber Speed", |
| 189 | + "type":"radio", |
| 190 | + "choices":{ |
| 191 | + "s":"Slow<br>", |
| 192 | + "m":"Medium<br>", |
| 193 | + "f":"Fast<br>", |
| 194 | + "x":"Not Attempted" |
| 195 | + }, |
| 196 | + "defaultValue":"x" |
| 197 | + }, |
| 198 | + "Parked": { |
| 199 | + "code":"p", |
| 200 | + "title": "Parked", |
| 201 | + "type":"bool" |
| 202 | + } |
| 203 | + }, |
| 204 | + "postmatch": { |
| 205 | + "Driver Skill": { |
| 206 | + "code":"ds", |
| 207 | + "title": "Driver Skill", |
| 208 | + "type":"radio", |
| 209 | + "choices":{ |
| 210 | + "n":"Not Effective<br>", |
| 211 | + "a":"Average<br>", |
| 212 | + "v":"Very Effective<br>", |
| 213 | + "x":"Not Observed" |
| 214 | + }, |
| 215 | + "defaultValue":"x" |
| 216 | + }, |
| 217 | + "Defense Rating": { |
| 218 | + "code":"dr", |
| 219 | + "title": "Defense Rating", |
| 220 | + "type":"radio", |
| 221 | + "choices":{ |
| 222 | + "n":"Not Effective<br>", |
| 223 | + "a":"Average<br>", |
| 224 | + "v":"Very Effective<br>", |
| 225 | + "x":"Not Observed" |
| 226 | + }, |
| 227 | + "defaultValue":"x" |
| 228 | + }, |
| 229 | + "PC Loading": { |
| 230 | + "code":"pl", |
| 231 | + "title": "Pick up PC where", |
| 232 | + "type":"radio", |
| 233 | + "choices":{ |
| 234 | + "l":"Loading Bay<br>", |
| 235 | + "g":"Ground<br>", |
| 236 | + "b":"Both<br>", |
| 237 | + "x":"Not Attempted" |
| 238 | + }, |
| 239 | + "defaultValue":"x" |
| 240 | + }, |
| 241 | + "Entered Trench Zone": { |
| 242 | + "code":"tr", |
| 243 | + "title": "Entered Trench Zone", |
| 244 | + "type":"bool" |
| 245 | + }, |
| 246 | + "Was Defended": { |
| 247 | + "code":"wd", |
| 248 | + "title": "Was Defended", |
| 249 | + "type":"bool" |
| 250 | + }, |
| 251 | + "Died": { |
| 252 | + "code":"d", |
| 253 | + "title": "Died", |
| 254 | + "type":"bool" |
| 255 | + }, |
| 256 | + "Tipped": { |
| 257 | + "code":"to", |
| 258 | + "title": "Tipped Over", |
| 259 | + "type":"bool" |
| 260 | + }, |
| 261 | + "Card Foul": { |
| 262 | + "code":"cf", |
| 263 | + "title": "Yellow/Red Card", |
| 264 | + "type":"bool" |
| 265 | + }, |
| 266 | + "Comments": { |
| 267 | + "code":"co", |
| 268 | + "title": "Comments", |
| 269 | + "type":"text", |
| 270 | + "size":15, |
| 271 | + "maxSize":50 |
| 272 | + } |
| 273 | + } |
| 274 | + } |
| 275 | +}`; |
0 commit comments