Go to Post In engineering, it's important to use the appropriate tools and not more resources than are required. - AdamHeard [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 41 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 11-06-2014, 18:13
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Team 111's scouting system: WildRank

After almost a year of development, Team 111 WildStang is proud to announce our electronic scouting system: WildRank.

The WildRank system is composed of two apps: an Android app and a desktop application. The Android app provides a means to collect match data, pit data, notes, as well as view all the collected data and the form a pick list. The desktop app creates configuration files for the tablets that contain the teams and matches for a given event. It also helps to compile notes collected by the different tablets and can output collected data in CSV form for more sophisticated analysis.

WildRank is a bit different than most scouting systems we’ve seen. Some of its key features are outlined below.
  • Functions totally offline: after event data is initially downloaded to the desktop from The Blue Alliance, the system can function without any internet connection. Data is synced between the different tablets and the computer using a USB flash drive with an OTG adapter for the tablets.
  • Distributed, robust data: each device in the system (desktop and tablets) maintains a complete copy of all the data, making it almost impossible to lose it. The desktop also backs up all its current data and the flash drive’s data before syncing, allowing you to restore any part of the system to a known good state should something go catastrophically wrong.
  • Easy to configure: the system is designed to stay largely the same from year to year. The things that have to change (the forms for collecting match and pit data, as well as how that data is displayed in team summaries) are defined via XML layout files with custom attributes for the tablet app and a special “config” file for the desktop.
  • Easy to modify: WildRank stores its data in JSON objects instead of something highly and rigidly structured, like an SQL database. Want to add a new piece of data to collect? Simply add a new view to the appropriate layout file, set its appropriate attributes, and update the desktop config file. Done!
  • Easy to extend: if none of the existing widgets collect the kind of data you want, you can easily define your own widget to output your data via JSON (string, number, boolean, or arbitrary JSON object).

We hope that other teams will be able to use our code as the basis of their own scouting systems, or at least a model of how to design a scouting system. If you want to check out our work, the GitHub links for each application, which include the code and a brief overview of how it works, are below. Note that documentation is a work in progress.

Android: GitHub Repository
Desktop: GitHub Repository

Screenshots of the app in operation can be found in this imgur album.

Note: the Android app was only ever tested and run on Motorola Xooms running an AOSP 4.2.2 ROM. It should work on other devices, with one exception: the device must support USB OTG in order for syncing via the flash drive to work. Because OTG support is not a standardized feature, your device may mount the flash drive in a place other than the one that the app expects. In that case, you can modify the code to point to the right place; instructions for how to do that are provided in the Android repo’s readme.

Last edited by nathanwalters : 11-06-2014 at 18:19. Reason: additional info
  #2   Spotlight this post!  
Unread 11-06-2014, 18:28
mail929 mail929 is offline
Registered User
AKA: Liam
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Sep 2012
Rookie Year: 2011
Location: Chicagoland
Posts: 16
mail929 has a spectacular aura aboutmail929 has a spectacular aura about
Re: Team 111's scouting system: WildRank

5/5 best scouting app ever - a completely unbiased coauthor
  #3   Spotlight this post!  
Unread 11-06-2014, 19:25
Andrew Lawrence
 
Posts: n/a
Re: Team 111's scouting system: WildRank

I love this system. Do you have any plans on making a version for the 2015 game and releasing it for teams to use during the season?
  #4   Spotlight this post!  
Unread 11-06-2014, 19:55
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: Team 111's scouting system: WildRank

Quote:
Originally Posted by Andrew Lawrence View Post
I love this system. Do you have any plans on making a version for the 2015 game and releasing it for teams to use during the season?
That's the beauty of this, your team should be able to easily adapt the system to fit your needs without us having to do anything. Check out the "Configuring WildRank for your team" and "Configuring games" sections of the Android and desktop READMEs, respectively, for the basics of how you would go about it. If you have any questions, reach out to me!
  #5   Spotlight this post!  
Unread 11-06-2014, 19:57
Andrew Lawrence
 
Posts: n/a
Re: Team 111's scouting system: WildRank

Quote:
Originally Posted by nathanwalters View Post
That's the beauty of this, your team should be able to easily adapt the system to fit your needs without us having to do anything. Check out the "Configuring WildRank for your team" and "Configuring games" sections of the Android and desktop READMEs, respectively, for the basics of how you would go about it. If you have any questions, reach out to me!
Just read through that - sending it to our software guys now. This is indeed a beautiful system you've created. Thank you for releasing it!
  #6   Spotlight this post!  
Unread 11-06-2014, 20:00
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: Team 111's scouting system: WildRank

Quote:
Originally Posted by Andrew Lawrence View Post
Just read through that - sending it to our software guys now. This is indeed a beautiful system you've created. Thank you for releasing it!
Thank you! All we ask is that if your software team makes any improvements, that they submit a pull request back to the main repo. We're sort of hoping this can become a collaborative community project that can be used and contributed to by many teams.
  #7   Spotlight this post!  
Unread 15-12-2014, 19:58
SpartanPikmin SpartanPikmin is offline
Registered User
FRC #0997
 
Join Date: Dec 2014
Location: Oregon
Posts: 3
SpartanPikmin is an unknown quantity at this point
Re: Team 111's scouting system: WildRank

Hi My team and I got the android app working but we can't see any of the built in match questions on the tables (that is if there are any), and we got them synced to a flash drive that is synced the the main computer (with your desk top app), and are testing it with last years game (2014)... so instead of scouring the code to see how it works we decided to ask this question. do the questions only appear when there is a game happening (or match) or is there a bug in the system, and how does it store its data?
  #8   Spotlight this post!  
Unread 15-12-2014, 22:09
mail929 mail929 is offline
Registered User
AKA: Liam
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Sep 2012
Rookie Year: 2011
Location: Chicagoland
Posts: 16
mail929 has a spectacular aura aboutmail929 has a spectacular aura about
Re: Team 111's scouting system: WildRank

Hi! Thanks for testing our app!
This problem sounds a little weird but our data management could use some work. Try this:

If you have clicked "Begin Scouting Match"
Send us the data from the flash drive there should be a file called events/eventname probably with a .json extension (I'm a little rusty), if you manage to find that send us a link with pastebin.com otherwise send us a dropbox link or something to a copy of the data you put on the flashdrive

Other wise
Do you see a whole bunch of matches on the left side of the screen?
If yes when you click on one of them one the right side of the screen there should be a match and team number at the very bottom of the right side there should be a "Begin Scouting Match" button if you click that it should open the questions.
Otherwise send us the data as mentioned above.
  #9   Spotlight this post!  
Unread 17-12-2014, 14:00
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 168
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Re: Team 111's scouting system: WildRank

Nice Job - I will pass this to our programming team so they can get familiar with it. Do you suggest any particular tablet to use? We don't have any yet but want to invest in some for this season. We would prefer a 7" table for cost savings.
  #10   Spotlight this post!  
Unread 17-12-2014, 16:12
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: Team 111's scouting system: WildRank

We've had success with our Xooms, a cursory glance says that you can get them on Ebay for about $100 a pop. You also can't go wrong with a 2nd gen Nexus 7 ($180 from Amazon, you can probably find them cheaper elsewhere). In general, a bigger screen is better for scouting (bigger screen = bigger touch targets = easier to hit buttons quickly in the middle of hectic matches). If you want to use our software, an important thing to remember is that the tablet must have USB OTG support so that the flash drive works. A quick glance at the manufacturer specs should confirm this, otherwise you could check out the XDA forums or a similar place. Let us know if you have any additional questions!
  #11   Spotlight this post!  
Unread 04-01-2015, 21:30
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 216
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Team 111's scouting system: WildRank

My apologizes for not knowing much about this subject.

I am interested in giving WildRank a try, but frankly I am lost on how to compile the code into an android app and an exe. can someone point me in the right direction please?
  #12   Spotlight this post!  
Unread 04-01-2015, 21:45
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: Team 111's scouting system: WildRank

For compiling the Android app, you'll need to download and install Android Studio. Once you've done that, use your Git method of choice (IDE integrated, the Github app, command-line git, etc.) to clone the project on your machine. Then just open the project in Android Studio and run it; once it's compiled it will prompt you to install it on your device. Make sure your device is connected via USB and that you've enabled developer options and debugging over USB. You should be all set on the tablet end.

For the desktop app, we used Eclipse, though you could compile the code in your Java IDE of choice. Just run the project as a Java application and you're good to go.

I think the Github Readmes do a pretty good job of explaining how to configure both components, but if you need more help, please ask.

Hope that helps!
  #13   Spotlight this post!  
Unread 04-01-2015, 21:52
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 216
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Team 111's scouting system: WildRank

Thanks, I'll give that all a whirl, this app sounds exactly like what we are looking for. Once I get it working I may have a few ideas on features. Thanks again.

[Edit] This is a very nice program, while I haven't had time to go through it expensively I have to give you guys credit, very nice. I have encountered a few minor bugs, but that may be due to my tablet not being set up fully. (among any of several other things I am probably doing wrong). Solid none the less.

Last edited by Skyehawk : 04-01-2015 at 23:18.
  #14   Spotlight this post!  
Unread 06-01-2015, 15:06
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 216
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Team 111's scouting system: WildRank

Hey everyone, I am having some difficulty on figuring out what I need to replace in this case structure to make a build work on my device. I know the mount location of the USB. "/mnt/usbhost1/WildRank_Working/" inside that directory there is the synced and uninitiated folders. What do I need to change?

I am just a a loss here as I do not work with java that often, any help you could give me would be greatly appreciated. Thanks for any help in advance.

...
case DIRECTORY_SYNCED:
return getSyncedDirectory(context);
case DIRECTORY_FLASH_UNINTEGRATED:
return getFlashDriveUnintegratedDirectory();
case DIRECTORY_FLASH_SYNCED:
return getFlashDriveSyncedDirectory();
case DIRECTORY_FLASH_ROOT:
return new File("/storage/usbdisk0/");

The code in question is found on line 280 of the source code under the file path android/SRC/main/java/org/wildstang/wild rank/android/data/datamanager.java
  #15   Spotlight this post!  
Unread 06-01-2015, 15:42
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: Team 111's scouting system: WildRank

I should have coded this better so that each of the directories references the root directory... but no matter. Basically every method that is called from the switch-case in getDirectory(...) that references the flash drive, you have to change to reference your root location. So FLASH_SYNCED and FLASH_UNINTEGRATED have to be changed to point to your location. I can push an update later today so that it references the root flash drive directory everywhere. Hope that made sense.
Closed Thread


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 Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19: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