Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9a1c35e
Add +5 buttons to counter
fuddster Jan 19, 2026
1159511
Add plusX1 property to Fuel Scored configuration
fuddster Jan 19, 2026
89268a3
Add plusX2 property to scoring configurations
fuddster Jan 19, 2026
78d6c64
Add two new configurable counter buttons
fuddster Jan 19, 2026
c23e0d1
Fix button spacing
fuddster Jan 19, 2026
2863030
Update scoutingPASS.js
fuddster Jan 19, 2026
e8b1cf4
Update scoutingPASS.js
fuddster Jan 19, 2026
adb2e63
Clean up formatting
fuddster Jan 19, 2026
abf1b06
Fix formatting
fuddster Jan 19, 2026
370e0d0
Change counter incremental tag
fuddster Jan 19, 2026
ee76672
Replace plusX1 and plusX2 with plusInc1 and plusInc2
fuddster Jan 19, 2026
6579067
Fix UI bug
fuddster Jan 19, 2026
fe9cb3c
Fix UI bug
fuddster Jan 19, 2026
2f2114e
Refactor addCounter
fuddster Jan 19, 2026
0102234
Fix centering issue
fuddster Jan 19, 2026
8260ef4
Fix UI bug
fuddster Jan 19, 2026
5718442
Fix UI bug
fuddster Jan 19, 2026
cd4be7a
Fix UI Bug
fuddster Jan 19, 2026
d7b40d0
Fix UI bug
fuddster Jan 19, 2026
49b4f82
Fix UI bug
fuddster Jan 19, 2026
45f4ef9
Fix UI bug
fuddster Jan 20, 2026
09b889c
Update button spacing
fuddster Jan 20, 2026
d05e5fb
Update button spacing
fuddster Jan 20, 2026
e3e82fe
Disable double-click zoom when clicking buttons
fuddster Jan 20, 2026
fb30008
Update button spacing
fuddster Jan 20, 2026
9235864
Rename alternative increment buttons
fuddster Jan 20, 2026
a78aee3
Rename alternative increment buttons
fuddster Jan 20, 2026
8b62da4
Update docs with new features
fuddster Jan 20, 2026
7fda1e6
Update README for 2026 changes
fuddster Jan 20, 2026
5b39816
Update headers
fuddster Jan 20, 2026
769ff2e
Update headers
fuddster Jan 20, 2026
5bfc5ff
Fix typos in TBAInterface.js comments
fuddster Jan 20, 2026
402c27c
Change Level 2 to Level 3 in radio choices
fuddster Jan 20, 2026
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
12 changes: 11 additions & 1 deletion 2026/rebuilt_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,15 @@ var config_data = `
{ "name": "Fuel Scored",
"code": "afs",
"expectedMax": 32,
"altInc1": 10,
"altInc2": 5,
"type": "counter"
},
{ "name": "Pass from Neutral Zone",
"code": "apn",
"expectedMax": 60,
"altInc1": 10,
"altInc2": 5,
"type": "counter"
},
{ "name": "Climb (L1)",
Expand Down Expand Up @@ -121,16 +125,22 @@ var config_data = `
{ "name": "Fuel Scored",
"code": "tfs",
"expectedMax": 150,
"altInc1": 10,
"altInc2": 5,
"type": "counter"
},
{ "name": "Pass from Neutral Zone",
"code": "pnz",
"expectedMax": 250,
"altInc1": 10,
"altInc2": 5,
"type": "counter"
},
{ "name": "Pass from Opp<br>Alliance Zone",
"code": "poa",
"expectedMax": 250,
"altInc1": 10,
"altInc2": 5,
"type": "counter"
},
{ "name": "Pickup from Depot",
Expand All @@ -153,7 +163,7 @@ var config_data = `
"choices": {
"1": "Level 1<br>",
"2": "Level 2<br>",
"3": "Level 2<br>",
"3": "Level 3<br>",
"a": "Attempted<br>",
"x": "Not Attempted"
},
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Scouting P.A.S.S.

#### A scouting system for FIRST FRC competitions developed by [PWNAGE - Team #2451](https://pwnagerobotics.org).
#### A scouting system for FIRST FRC competitions developed by [PWNAGE - Team #2451](https://pwnagerobotics.org)

<a href="https://PWNAGERobotics.github.io/ScoutingPASS">Live Demo</a> . <a href="https://PWNAGERobotics.github.io/ScoutingPASS/pit.html">Pit Scouting</a> . <a href="#getting-started">Getting Started</a> . <a href="#faq">FAQ</a>

Expand Down Expand Up @@ -77,7 +77,7 @@ User defined fields can be of several different types:
* Cycle Timer - Start the timer and with 1 click track cycle times of robots.
* Field Image - Using an image of the field, select positions on the field. (Use to record starting point or shooting locations)

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.
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.

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.

Expand Down Expand Up @@ -108,7 +108,7 @@ Note: For this to work, the schedule has to be posted to The Blue Alliance. Tha

## Pit Scouting:

ScountingPASS now supports Pit Scouting
ScoutingPASS now supports Pit Scouting

To access the pit scouting page, add '/pit.html' to the end of your URL. (i.e. http://pwnagerobotics.github.io/ScoutingPASS/pit.html)

Expand Down Expand Up @@ -218,6 +218,7 @@ Distributed under the GNU GPL v3.0 License. See `LICENSE` for more information.
<summary>2026 Season Updates</summary>
<ul>
<li>New configurations added for match and pit scouting as well as the new field image</li>
<li>Add alternate increment/decrement configurations for the counter element</li>
</ul>
</details>

Expand Down
8 changes: 8 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,19 @@ Special sub-elements of text are "match" and "team". These sub-types will updat
"code": "mc",
"type": "counter",
"defaultValue": 0,
"altInc1": 10,
"altInc2": 5,
"expectedMax": 99,
"tooltip": "Put help or more descriptive text here"
}
```
The counter is displayed with two buttons labeled "-" and "+" to increase or decrease the counter number.

Specific attributes of counter are:
* defaultValue (optional) - set the field to start at a certain value
* altInc1 (optional) - Add an additional button to increment/decrement the counter by the specified amount
* altInc2 (optional) - Add a 2nd additional button to increment/decrement the counter by the specified amount
* expectedMax (optional) - used by the data generation program to generate reasonable expected values

The counter element will be set back to the defaultValue value when the Clear Form button is pressed.
If there is no defaultValue it will be reset to zero.
Expand Down Expand Up @@ -304,6 +310,7 @@ There are no specific attributes to this element.
"showFlip": "false",
"showUndo": "false",
"shape": "circle 12 black red true",
"expectedMax": 20,
"cycleTimer": "tct"
}
```
Expand All @@ -326,6 +333,7 @@ Specific attributes of Cycle Timer are:
* fillColor - color to fill in the shape (Default value: none)
* fill - if true, fill in the shape with the fillColor, otherwise do not fill in the shape
* Note: Use predefined [HTML color names](https://www.w3schools.com/colors/colors_names.asp) only
* expectedMax (optional) - used by the data generation program to generate reasonable expected values
* cycleTimer (optional) - tie clicks into a cycle timer to start new cycles every time the image is clicked.

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.
Expand Down
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<form id="scoutingForm" onsubmit="return false" name="scoutingForm">
<div id="main-panel-holder">
<div id="prematch" class="main-panel" style="background-color: black;">
<h1 id="prematchHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">N</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2026</h1>
<h1 id="prematchHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">N</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2 id="prematchHeader2">pre-match</h2>
<p class="match-label"><input type="button" value="Next" id="nextButton1" onclick="swipePage(1)"></p>
<table id="prematch_table" style="font: Roboto">
Expand All @@ -27,7 +27,7 @@ <h2 id="prematchHeader2">pre-match</h2>
</div>

<div id="auton" class="main-panel" style="background-color: rgb(123, 168, 184);">
<h1 id="autonHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2026</h1>
<h1 id="autonHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2 id="autonHeader2">Auton</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton1" onclick="swipePage(-1)"><input type="button" value="Next" id="nextButton3" onclick="swipePage(1)"></p>
<table id="auton_table">
Expand All @@ -37,7 +37,7 @@ <h2 id="autonHeader2">Auton</h2>
</div>

<div id="teleop" class="main-panel" style="background-color: rgb(175, 207, 163);">
<h1 id="teleopHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2026</h1>
<h1 id="teleopHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2 id="teleopHeader2" >Teleop</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton3" onclick="swipePage(-1)"><input type="button" value="Next" id="nextButton5" onclick="swipePage(1)"></p>
<table id="teleop_table">
Expand All @@ -47,7 +47,7 @@ <h2 id="teleopHeader2" >Teleop</h2>
</div>

<div id="endgame" class="main-panel" style="background-color: rgb(198, 186, 222);">
<h1 id="endgameHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2026</h1>
<h1 id="endgameHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2 id="endgameHeader2">Endgame</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton5" onclick="swipePage(-1)"><input type="button" value="Next" id="nextButton7" onclick="swipePage(1)"></p>
<table id="endgame_table">
Expand All @@ -57,7 +57,7 @@ <h2 id="endgameHeader2">Endgame</h2>
</div>

<div id="post-match" class="main-panel" style="background-color: rgb(89, 134, 168);">
<h1 id="postmatchHeader" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2026</h1>
<h1 id="postmatchHeader" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2>Miscellaneous</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton7" onclick="swipePage(-1)"><input type="button" value="Next" id="nextButton9" onclick="swipePage(1)"></p>
<table id="postmatch_table">
Expand Down Expand Up @@ -106,3 +106,4 @@ <h2 id="qrHeader2">Generate QR Code</h2>




5 changes: 3 additions & 2 deletions pit.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<form id="scoutingForm" onsubmit="return false">
<div id="main-panel-holder">
<div id="prematch" class="main-panel" style="background-color: black;">
<h1 id="prematchHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">N</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2020</h1>
<h1 id="prematchHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">N</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2 id="prematchHeader2">Pit Scouting</h2>
<p class="match-label"><input type="button" value="Next" id="nextButton1" onclick="swipePage(1)"></p>
<table id="prematch_table" style="font: Roboto">
Expand All @@ -27,7 +27,7 @@ <h2 id="prematchHeader2">Pit Scouting</h2>
</div>

<div id="qr-code" class="main-panel" style="background-color: white;">
<h1 id="qrHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting 2020</h1>
<h1 id="qrHeader1" class="page_title"><span class="odd">P</span><span class="even">W</span><span class="odd">n</span><span class="even">A</span><span class="odd">G</span><span class="even">E</span><br>Scouting PASS</h1>
<h2 id="qrHeader2">Generate QR Code</h2>
<p class="match-label"><input type="button" value="Prev" id="prevButton9" onclick="swipePage(-1)"></p>
<p id="qr-info"><span id="display_qr-info" style="border: none; text-align: center;"></span></p>
Expand Down Expand Up @@ -60,3 +60,4 @@ <h2 id="qrHeader2">Generate QR Code</h2>
</form>
</html>


4 changes: 2 additions & 2 deletions resources/js/TBAInterface.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// TBAInterface funcitons to pull data from TheBlueAlliance.com
// TBAInterface functions to pull data from TheBlueAlliance.com
var teams = null;
var schedule = null;
var authKey = "uTHeEfPigDp9huQCpLNkWK7FBQIb01Qrzvt4MAjh9z2WQDkrsvNE77ch6bOPvPb6";
Expand All @@ -25,7 +25,7 @@ function getTeams(eventCode) {
}

/**
* Get schefule for event
* Get schedule for event
*
* @param {eventCode} eventCode the event code (i.e. 2020caln) to pull the team list
*/
Expand Down
Loading