Go to Post If it were easy it wouldn't be worth triple the points, right? - SenorZ [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-03-2016, 19:51
Jacobo3170 Jacobo3170 is offline
Registered User
AKA: Jacob
FRC #3944 (All Knights)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: AZ
Posts: 1
Jacobo3170 is on a distinguished road
Post Speedscout16 Scouting App (And R Analysis Code)

This year I developed an iOS scouting app called Speedscout16 for any team looking for a simple and easy scouting solution. (It was also recently ported to Android by David Turner 1756). It allows scouters to effortlessly email (or airdrop…) their scouting data as a collection of CSV spreadsheets. (Picture of example spreadsheet attached...)

Along with this app, my team will also be using this R code to analyze the collected data. If you are new to R (like me) here is how you would run this code:

1. Download both R and R studio) onto your computer.
2. Download the code “As ZIP” from Github
3. Designate your working space/directory where you will store both the code and statistics (e.g. Your desktop) and drag the downloaded folder to this location. (Change the name from “2016-R-Code-master” to “2016 R Code”)
4. Create a folder in this location (step 3) called “FRC 2016 All Raw Data” and move all of your raw Speedscout16 data into it
5. Open only the .R script named “FRC 2016 Master.R” in R Studio (left click and select “Open with” -> R Studio) and change “myDir” to your designated hard drive location (Created in step 3)
6. Load the .RData function “to.numbers” into your environment (“Open with” -> R Studio) and select “Yes”
7. Download the “Calibrate” Package for plotting (R Studio -> Tools -> Install Packages - > “calibrate” -> Install)
8. With “FRC 2016 Master” open in R Studio, check the box next to “Source on save”
9. Save “FRC 2016 Master” (If errors such as “50 more errors” and “*teamnumber* already exists” come up in the terminal, disregard them).
10. (Click on “Plots” to see graph of every team’s Defensive capabilities and their average shooting pts per match)
Attached Thumbnails
Click image for larger version

Name:	3944_5.png
Views:	51
Size:	81.1 KB
ID:	20459  
Reply With Quote
  #2   Spotlight this post!  
Unread 28-03-2016, 20:41
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: Speedscout16 Scouting App (And R Analysis Code)

Thanks for sharing, Jacob! At the Central Illinois Regional, Argos used the app and some scripts I wrote to collect gmail messages from the app into a Google spreadsheet (code available on Github). I left my laptop running off-site to monitor our gmail account for new scouting data which we could then use to strategize in upcoming matches.

Our scouters found the app easy to use and much more enjoyable than our previous paper method, so I ported an Android version(code available on Github) that we will be using in conjunction with Jacob's iOS version at Midwest Regional and Championships. The two apps produce the same data, so any parsing and collection tools can run on data from both versions.

Good luck teams!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi