Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
/ scouting-app Public archive

A mobile app for entering competitive scouting data at First Robotics Competitions.

License

Notifications You must be signed in to change notification settings

Arctos6135/scouting-app

Repository files navigation

scouting-app

This app was created for high school robotics teams to enter competitive scouting data at First Robotics Competitions. Because WiFi is not permitted it uses QR codes to transmit data from phones to the database. It's written in React Native so it runs on any platform.

How it works

This repository contains two components. The phone app for entering data, and the desktop app for reading QR codes and storing the data.

The app uses a schema to generate the forms that are displayed to users. If we simply transfered the entered data in a JSON format the QR codes would be too large to read reliably. In order to prevent this we have two solutions. One solution is to just use multiple QR codes. This allows any amount of data to be transfered but it can take longer. The other way is to pack the data as efficiently as possible. We do this by treating the form schema as a series of bases, each one representing the number of possible inputs for that value, and encoding this as a mixed-radix number. This means each possible state of the form has a unique number and we just need to send that. Strings are encoded with their length so we don't waste space with blank characters.

Installation

Make sure you have a new version of nodejs and npm installed. In order to test the app you must install a few libraries. Start by installing expo-cli with

npm install -g expo-cli

You might need to run it as root. To just be able to run the desktop side, after cloning this repository run npm install in both scouting-app and desktopSide. Then you can open the desktop app with cd desktopSide npm start git clone this repository with

git clone https://github.com/Arctos6135/scouting-app.git
cd scouting-app

You can run the expo server with

npm start

It will open the QR code in you browser and you can scan that with the expo app on your phone to see the app.

Thank you to our generous sponsors:
Toronto District School Board Nordic Semiconductors SNC-Lavalin Scotia McLeod Ryver Inc. The Maker Bean Cafe Connect Tech Inc. HD Supply Brafasco Arbour Memorial

About

A mobile app for entering competitive scouting data at First Robotics Competitions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •