View Single Post
  #1   Spotlight this post!  
Unread 03-02-2015, 19:13
uutzinger uutzinger is offline
Registered User
FRC #4183 (Bit Buckets)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2013
Location: Tucson
Posts: 8
uutzinger will become famous soon enough
QR Code Scouting App Prototype

Example LabView Scouting Prototype App:

https://github.com/uutzinger/FRC_Scout

FRC Scout is a LabView application that allows collecting team scouting data during First Robotics Competition and transmits data with QR Codes.

The design is based on
  1. Entering team and match data,
  2. Converting that data to string then to QR Code,
  3. Reading QR code, converting to record and saving data into JSON text file and
  4. Assembling all JSON files into single spreadsheet.

This program has been created with the intent to help collecting data with multiple computers and transmitting it to a single computer without using wireless data connection.

This application needs LabView 2013 or later and Vision Module installed. It also needs JSON package which you can get from VI Package Manager. The QR generator has been taken from https://lavag.org/topic/15670-qr-code-generator/. The QR reader is a part of the NI LabView Vision Module.

QR reading with a simple old USB webcam 640x480 of a text larger than 500 bytes is tricky. Initial code was written to produce XML text files, however they were 2300 bytes long and they were not readable using a simple camera. If text is about 300 bytes long reading should be stable and fast. The QR codes contain a unique identifier. This assures that any QR code can be read but only valid scouting QR codes are accepted.

Saving data will produce files named with year-day-hour-minute-second. format. Only the final assembled file asks for a file name. This code does not check for duplicate entries.

This code does not (yet) run on Tablet or Phone.
This code does not include analysis features.
This code can be made into stand alone application not requiring LabView to run.
Meaning there is plenty of room for expansion.

Urs Utzinger
Bit Buckets, 4183, 2015