You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add additional increment/decrement counter buttons and other fixes (#136)
* Add additional increment/decrement buttons to the counter
* Add altInc1 & altInc2 property to scoring configurations
* Disable double-click zoom when clicking buttons
* Update docs with new features
* Update README for 2026 changes
* Fix typos in TBAInterface.js comments
* Change typo - Level 2 to Level 3 in radio choices
@@ -77,7 +77,7 @@ User defined fields can be of several different types:
77
77
* Cycle Timer - Start the timer and with 1 click track cycle times of robots.
78
78
* Field Image - Using an image of the field, select positions on the field. (Use to record starting point or shooting locations)
79
79
80
-
These should cover most of your scouting team's data collection needs. PWNAGE's 2020 Infinite Recharge configuration file is included as an example. The import of the configuration file is in index.html and would need to be updated to import a different configuration file. Only import one configuration file.
80
+
These should cover most of your scouting team's data collection needs. The REBUIT (2026) configuration file is included as an example. The import of the configuration file is in index.html and would need to be updated to import a different configuration file. Only import one configuration file.
81
81
82
82
Since this is an HTML/JavaScript web page, scouters can use almost any device that has a web browser. If the device has a touchscreen the screen can be used to swipe back and forth between pages and interact with the data elements. The webpage only needs to be loaded once. Once loaded the functionality and data is stored locally in the webpage and doesn't need to be reloaded. The QR code generation and clear button only resets the form and does not cause the page to reload. This means that a cellular or WiFi connection is not needed at the competition as long as the webpage is loaded before the event.
83
83
@@ -108,7 +108,7 @@ Note: For this to work, the schedule has to be posted to The Blue Alliance. Tha
108
108
109
109
## Pit Scouting:
110
110
111
-
ScountingPASS now supports Pit Scouting
111
+
ScoutingPASS now supports Pit Scouting
112
112
113
113
To access the pit scouting page, add '/pit.html' to the end of your URL. (i.e. http://pwnagerobotics.github.io/ScoutingPASS/pit.html)
114
114
@@ -218,6 +218,7 @@ Distributed under the GNU GPL v3.0 License. See `LICENSE` for more information.
218
218
<summary>2026 Season Updates</summary>
219
219
<ul>
220
220
<li>New configurations added for match and pit scouting as well as the new field image</li>
221
+
<li>Add alternate increment/decrement configurations for the counter element</li>
Copy file name to clipboardExpand all lines: docs/Configuration.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,13 +207,19 @@ Special sub-elements of text are "match" and "team". These sub-types will updat
207
207
"code": "mc",
208
208
"type": "counter",
209
209
"defaultValue": 0,
210
+
"altInc1": 10,
211
+
"altInc2": 5,
212
+
"expectedMax": 99,
210
213
"tooltip": "Put help or more descriptive text here"
211
214
}
212
215
```
213
216
The counter is displayed with two buttons labeled "-" and "+" to increase or decrease the counter number.
214
217
215
218
Specific attributes of counter are:
216
219
* defaultValue (optional) - set the field to start at a certain value
220
+
* altInc1 (optional) - Add an additional button to increment/decrement the counter by the specified amount
221
+
* altInc2 (optional) - Add a 2nd additional button to increment/decrement the counter by the specified amount
222
+
* expectedMax (optional) - used by the data generation program to generate reasonable expected values
217
223
218
224
The counter element will be set back to the defaultValue value when the Clear Form button is pressed.
219
225
If there is no defaultValue it will be reset to zero.
@@ -304,6 +310,7 @@ There are no specific attributes to this element.
304
310
"showFlip": "false",
305
311
"showUndo": "false",
306
312
"shape": "circle 12 black red true",
313
+
"expectedMax": 20,
307
314
"cycleTimer": "tct"
308
315
}
309
316
```
@@ -326,6 +333,7 @@ Specific attributes of Cycle Timer are:
326
333
* fillColor - color to fill in the shape (Default value: none)
327
334
* fill - if true, fill in the shape with the fillColor, otherwise do not fill in the shape
328
335
* Note: Use predefined [HTML color names](https://www.w3schools.com/colors/colors_names.asp) only
336
+
* expectedMax (optional) - used by the data generation program to generate reasonable expected values
329
337
* cycleTimer (optional) - tie clicks into a cycle timer to start new cycles every time the image is clicked.
330
338
331
339
The element field_image has been deprecated in favor of the new more flexible clickable_image. It is currently still supported but may be removed from future releases.
0 commit comments