Skip to content

FRC4946/scouting-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scouting-server

Scouting server app for Alpha Dogs

Hello there traveler!

Here's what to do with the server:

Prerequisites:
.Net 5.0 (5.017 is fine)
Visual Studio Community 2022
A completed scouting form for the scouting app (just saves time)

What to do:
Open up the app in Visual Studio as a solution (.sln)
Locate both MainMessage.cs and PitMessage.cs
Edit the data from both respective files (swap out the names and add/remove any variables from the array to match your scouting form)
Note: The order of the data in the message arrays must be the EXACT SAME as your scouting form, or data will be mismatched/lost
Run the entire app from MainForm.cs
If there are any errors, try to fix them to the best of your ability
Once that copy of the server works, simply push it as a branch that's named the year of the server (i.e the 2026 server will just be a branch called 2026

The server's running, now what:
The app will display your computer's Mac Address in the formatting we need
Assuming you're using the 2025 scouting server code for the app, replace the Mac Address under the string computerAddress with the current computer's (This will make the tablets auto-fill the previous address with your current one, so later on you don't have to fill it in every time).

I've got the server AND app working, how do I connect them?
Before trying to send, ensure that the server computer and the tablet(s) have previously connected at least once through Bluetooth. This allows sending permissions.
Ensure the Pit/Main button is the same as the app you're connecting to, then hit the run button on the server and choose the directory for the CSV file to be saved, this file contains every piece of match data.
Once the server is running and the tablets are ready, simply hit the run button with data. (IMPORTANT: The server can only handle up to 4 tablets sending at once, reccomended to do in groups of 3).
Note: Under connections, however many rows are being filled with text indicate the number of connections.

Everything works, but it's not an app I can pass around. How do I make it one?
First, change the debug dropdown beside the CPU options and below the build button at the top to "Release." This makes Visual Studio build the app as normal, without the debugging functions.
Once you've done that, run WindowedApplication without debugging (the hollow play button) to both test and ensure it's running correctly
After that, right click on WindowedApplication in Solution Explorer, click "Open folder in File Explorer," open the "bin" folder, open the "Release" and then the "net5.0-windows" folder.
After ensuring there is data within the folder and the exe file runs correctly, compress the "net5.0-windows" folder to a zip file and you have your server as a transferable file.
Last Updated: April 8th - 2025

About

Scouting server app for Alpha Dogs

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages