Go to Post We are not the families of competiting robot teams, but we are a family of Gracious and Professionalism, because we know it better than anyone in the world. - wsansewjs [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, 00:33
ProfessorAlekM ProfessorAlekM is offline
Registered User
FRC #6190
 
Join Date: Jan 2016
Location: Canton, Michigan
Posts: 32
ProfessorAlekM has a little shameless behaviour in the past
SQL Scouting Algorithms

Hello!
Our rookie team had a hard time choosing an alliance during the Livonia eliminations, and since I have some experience in using python with SQL, I am going to attempt making a simple command line interface program for scouting.

Since it will be a pain for my team to type in sql arguments, I'll just use a GUI sql database editor so that they can easily add and edit team data.

However I would like to make a python program that can read my database and figure out the capabilities of my team and the enemy team, then come up with possible defense selections.

I would also like to make it list the teams that would work best with our robot in an alliance, based on data about defenses they cross, and how efficiently they can score.

Of course this is alot to ask for, but the key is in what you put into the database.

For example, visibility was a major issue scouting teams overlooked. The database could tell us what teams had the camera extender poles, cameras on bots, or positioning flags (quite genius!), so we could decide if we want to pick big defenses to block vision.

Another issue in deciding teams is simplicity and speed. Some teams that shot for the high goal where actually less point efficient then low goal shooters, and some drivers breached defenses Waaay faster than others.

This last bit of data may be hard to get, but what about "percentage of tournament robot is broken" or "percentage of matches the robot dies on the field" or "average points"?

Any ideas on what I should put into my database? (Or what I should put into each category ie. 0-1 for defense categories, or points added together for each extra vision add-on) So far I've got:
low goal
high goal
defenses
visibility
average points
speed

We are only a rookie team with 10ish people, so most of the data I mentioned we probably won't have time to gather or code.

Any recommendations?

(sorry for any misspelling, I typed this on a phone)
Reply With Quote
  #2   Spotlight this post!  
Unread 28-03-2016, 20:45
mjustice66's Avatar
mjustice66 mjustice66 is offline
Registered User
AKA: Michael Justice
FRC #0066 (The Flyers)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Ypsilanti, MI
Posts: 52
mjustice66 is an unknown quantity at this point
Re: SQL Scouting Algorithms

Our team will be scouting at the Ann Arbor district along with 3542 "The Greengineerz". We are more than happy to help with any of your scouting needs. If youd like to scout with us and share data that can be doable. All up to what your team wants to do, but we'ed love to help.
__________________

Picture is credited to danielernst
Reply With Quote
  #3   Spotlight this post!  
Unread 29-03-2016, 15:53
ProfessorAlekM ProfessorAlekM is offline
Registered User
FRC #6190
 
Join Date: Jan 2016
Location: Canton, Michigan
Posts: 32
ProfessorAlekM has a little shameless behaviour in the past
Re: SQL Scouting Algorithms

I finished creating an SQL database that will hold the info for the Ann Arbor event. I set up JetBrain's DataGrip software so that my scouting team can edit it easily like an excel document.

I've also written a basic python program that retrieves data from the database and prints it into terminal based on the team numbers that you enter. I am working on using matplotlib to make a more visual graphic.

Code (Should be working but still in progress):
https://github.com/AlekMabry/FRC_SQL...r/MatchInfo.py

I've been rewatching the matches from the livonia tournament, and alot of teams we met there will be at the Ann Arbor competition, so I am working on putting their stats into my database. I would be willing to share this info with your team when I finish filling in everything I can in my database.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-03-2016, 16:37
evanperryg's Avatar
evanperryg evanperryg is offline
IT'S THE BUMP N' DUMP
AKA: Evan Grove
FRC #4536 (The Minutebots)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Minneapolis, MN
Posts: 656
evanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond repute
Re: SQL Scouting Algorithms

Always keep the UI as simple and user friendly as possible, always have a column that calculates how many points the scouted team scored in that match, OPR/average alliance score doesn't say anything. I'd suggest NOT using a scouting system that requires each scout to have a laptop, either. Batteries die, and unless you have easily accessible power, you may lose out on a ton of data switching laptops. They're also big, hot, and fragile. Keep in mind that most venues don't have WiFi (you're in Michigan, so this maybe this isn't the case) and, unless you have a reliable mobile data connection, you likely won't have internet. Looks like you guys are already more organized than most veteran teams, if you have any questions I'd be happy to help!
__________________
FRCDesigns Contributor | "There is only one corner of the universe you can be certain of improving, and that's your own self." -Aldous Huxley
2012-2016 | FRC Team 2338: Gear it Forward
2013
Wisconsin Regional Winner 2014 Midwest Regional Finalist 2015 Midwest Regional Chairman's Award, Finalist, Archimedes Division Champion, IRI Semifinalist 2016 Midwest Regional Chairman's Award, Finalist, Archimedes Division Gracious Professionalism Award, R2OC Winner
2015 | FTC Team 10266: Mach Speed
2015
Highland Park Qualifier Winner, Motivate Award
2017-???? | FRC Team 4536: The Minutebots

Thanks to the alliances and friends I've made along the way: 33 74 107 111 167 171 234 548 1023 1089 1323 1625 1675 1732 1756 2064 2077 2122 2202 2358 2451 2512 2826 3936 3996 4039 4085 4241 5006 5401 5568 5847 5934
Reply With Quote
  #5   Spotlight this post!  
Unread 29-03-2016, 16:50
Jcarbon Jcarbon is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Leadership
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Ann Arbor, Mi
Posts: 62
Jcarbon has a spectacular aura aboutJcarbon has a spectacular aura about
Re: SQL Scouting Algorithms

Quote:
Originally Posted by evanperryg View Post
Keep in mind that most venues don't have WiFi (you're in Michigan, so this maybe this isn't the case)
Skyline should have WiFi available (unless something unexpected happens).

That being said, I'd recommend a paper scouting system for what you're describing. We use paper sheets that then get passed to one person with a laptop who enters the data. If you're interested in our system, send me a message, or just find me at Skyline.
Reply With Quote
  #6   Spotlight this post!  
Unread 29-03-2016, 16:56
BenjiSG's Avatar
BenjiSG BenjiSG is online now
The Guy With the Hat
AKA: Benji Spetter-Goldstein
FRC #2877 (LigerBots)
Team Role: Mechanical
 
Join Date: Apr 2015
Rookie Year: 2013
Location: United States
Posts: 36
BenjiSG is on a distinguished road
Re: SQL Scouting Algorithms

The really important thing when ranking teams based on your scouting is to make sure that you score them according to your priorities- not necessarily their overall performance. If you breach, and want a shooting team, then obviously you would make sure that shooting contributes more to placement on your list than breaching. If you can't do a category of defense (or do it really badly), but want to ensure you can still breach, then you would obviously prioritize that defense.

During our most recent competition, we ranked teams in a spreadsheet according to the four categories we found to be most relevant to us (cheval de frise, other defenses, goals, and auto) with that order of priority, and scored each category from 0-3 for each team, with 0 being that they can't do it, and 3 being that they do it quickly many times.

Ultimately, your scouting should be based around what suits your team, even if you can't have someone tracking every single match.
__________________

“A spontaneous liger whole”
2016 - Entreprenuership, 2 Innovation in Control Awards 2015 - 2 Chairman's, Finalists, 6th Seed Captains at NE Champs, 7th Seed Captains on Newton 2014 - 3rd Seed Captains and Finalists, WPI Champions, Worlds
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 17:01.

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