Go to Post I love math... :D - Eric W. Jones [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-11-2014, 01:50
Monitrech Monitrech is offline
Registered User
FRC #2169 (KING TeC)
Team Role: Mechanical
 
Join Date: Nov 2014
Rookie Year: 2014
Location: Minnesota
Posts: 3
Monitrech can only hope to improve
Electronic scouting using 7 laptops and a little mysql

Our team is currently exploring some ways of doing scouting electronically. I have an idea I would like to get your opinions/tips on.

Here is how it would work:

7 total laptops all wired to a switch or router (1 server laptop and 6 data entry laptops).

The server laptop runs xxamp and the data entry laptops would send data to server laptop(via php post method) to be stored in a mysql table that we could later export as a spreadsheet for analysis.
  #2   Spotlight this post!  
Unread 22-11-2014, 05:14
saikiranra's Avatar
saikiranra saikiranra is offline
UCI
AKA: Saikiran Ramanan
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Irvine, CA
Posts: 200
saikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond repute
Re: Electronic scouting using 7 laptops and a little mysql

Many teams have used this method in the past with sucess. Running a local server allows for some pretty cool ways for multiple people to view and interpret data. You might find that JS/PHP data interpretation is more useful than exporting to a spreadsheet.

Additionally, at events, it's sometimes hard to find a reliable source of electricity to power the electronics. You might want a few batteries and a power inverter.

Keep in mind that a computerized system adds a layer of complexity. Keep the input system simple, back up databases, and allow for error management (like ways to edit previous data) and you should be good to go!
__________________
2014 - Current: Team 3476 Electronics, Programming, and Scouting Mentor
2011 - 2014: Team 696 Student and Drive Coach
  #3   Spotlight this post!  
Unread 22-11-2014, 14:33
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Electronic scouting using 7 laptops and a little mysql

Couldn't you run the server on one of the laptops being used for scouting? You could get by with 6 laptops and a little MySQL, I'm sure!

Also, as of what I've seen is that computers can be extremely reliable. My latest applications are threaded to the point where they crash every once in a while when under load (sending 900 requests at a time). I've never had any database corruption or even binary corruption.
Of course, sending 900 requests at a time to the server will be very unlikely as it is neither internet connected (spammers) and you only have 7 users.

The magic of electronic scouting systems is when you put together a ton of HTML and CSS to make a spectacular interface and add some JS/AJAX to make the entire page work without page loads or latency!
Doing something like this will make it possible to sync realtime data between all of the computers!

Last edited by yash101 : 22-11-2014 at 14:41.
  #4   Spotlight this post!  
Unread 22-11-2014, 17:53
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,767
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by yash101 View Post
Couldn't you run the server on one of the laptops being used for scouting? You could get by with 6 laptops and a little MySQL, I'm sure!
Not if you want immediate output, which many teams do. You run the server on Laptop #7, and use that one if someone needs to get to the data during a match.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #5   Spotlight this post!  
Unread 22-11-2014, 18:04
AdamStockton AdamStockton is online now
Scoutmaster
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Aug 2011
Rookie Year: 2006
Location: Lockport, NY
Posts: 61
AdamStockton will become famous soon enough
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by yash101 View Post
Couldn't you run the server on one of the laptops being used for scouting? You could get by with 6 laptops and a little MySQL, I'm sure!
You could very well use on of the 6 laptops as the server machine. With only 6 users, it is extremely unlikely that you will need a dedicated server machine. Also, this should reduce the amount of power your setup will draw (especially important if you are using batteries).

My team has been using an Apache/MySQL/PHP setup for the past 3 years now. We have found it to be fairly reliable and much easier than our old paper system. Of course, our electronic system requires much more work on our part prior to our competition (programming, setup, thorough testing and training), but its well worth it for the added speed and functionality. If you are going to implement a computer based system, I can't stress enough how important it is to test your system and train your users. You want to be able to iron out any bugs in your code, and make sure everyone knows what they are doing well before you get to the competition.

As mentioned before, you might want to experiment with data manipulation with PHP. All of our team's reports have been customized to our teams needs, and are generated with PHP directly from MySQL database. This saves you from having to export data to excel and update it every time the database changes. I've attached examples of 2 of the many different reports we have created over the years.
Attached Thumbnails
Click image for larger version

Name:	Calculated Rankings.jpg
Views:	100
Size:	134.1 KB
ID:	17502  
Attached Files
File Type: pdf Individual Team Report.pdf (202.5 KB, 28 views)
__________________
Mentor Team 1507 (2013 - Present):
1 Regional Win - FLR 2014
1 Regional Finalist - Buckeye 2013

Student Team 1507 (2009 - 2012):
1 Division Win - Newton 2009
3 Regional Wins - FLR 2009, FLR 2012, Buckeye 2012
1 Regional Finalist - Pittsburgh 2011
  #6   Spotlight this post!  
Unread 22-11-2014, 18:25
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Electronic scouting using 7 laptops and a little mysql

That is very true. However, for just a server, that's kind of wasteful.
  #7   Spotlight this post!  
Unread 22-11-2014, 18:30
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,767
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by yash101 View Post
That is very true. However, for just a server, that's kind of wasteful.
Think about it this way: Your drive coach texts the scouting lead right as a match starts, saying he needs some data on one team or another, can he get it right away. Do you: wait until the match ends (delay in getting data) or kick a scout off of data entry so you can pull the data? Add in another computer to act as a server, and that one is available as a place to get data from that just can't wait. Plus it's a spare unit available for transitioning fresh scouts in or swapping out a broken one on short notice.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #8   Spotlight this post!  
Unread 22-11-2014, 18:34
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Electronic scouting using 7 laptops and a little mysql

Or maybe you could plug in another computer temporarily. It's web-based. I have written web-applications that can disconnect from the server when it is unavailable and reconnect immediately after it is back up!
  #9   Spotlight this post!  
Unread 22-11-2014, 18:38
saikiranra's Avatar
saikiranra saikiranra is offline
UCI
AKA: Saikiran Ramanan
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Irvine, CA
Posts: 200
saikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond repute
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by EricH View Post
Think about it this way: Your drive coach texts the scouting lead right as a match starts, saying he needs some data on one team or another, can he get it right away. Do you: wait until the match ends (delay in getting data) or kick a scout off of data entry so you can pull the data? Add in another computer to act as a server, and that one is available as a place to get data from that just can't wait. Plus it's a spare unit available for transitioning fresh scouts in or swapping out a broken one on short notice.
That is especially important. More often than not, some other scouting management needs to be done, like reporting data or editing previous false data. A 7th computer is vital to keep electronic scouting seamless.
__________________
2014 - Current: Team 3476 Electronics, Programming, and Scouting Mentor
2011 - 2014: Team 696 Student and Drive Coach
  #10   Spotlight this post!  
Unread 23-11-2014, 12:29
tickspe15's Avatar
tickspe15 tickspe15 is offline
Purdue University
AKA: Spencer Tickman
FRC #1747 (Harrison Boiler Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Issaquah, Washington
Posts: 251
tickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant future
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by saikiranra View Post
That is especially important. More often than not, some other scouting management needs to be done, like reporting data or editing previous false data. A 7th computer is vital to keep electronic scouting seamless.
Our team used to run our scouting system on laptops. We would borrow 7 laptops from people on the team and give them back at the end of each day. Our problem with that setup, other than that laptops take a lot of power and our inverter went thru batteries very quickly, was that laptops are big and expensive. At each competition some scout would get tired or distracted and either drop the laptop or yank the cable out of the Ethernet port resulting in broken laptops. In 2014 we switched to nexus 7s, that we borrowed from the computer science teacher at school, on a USB network. Tablets are cheeper and less cumbersome and none of them broke.

As the drive coach I was given a tablet with updated data after every match.
__________________
Team 1318: 2011-2015
Team 1747: 2015-Present
NAR (VEX U): 2015-Present
  #11   Spotlight this post!  
Unread 23-11-2014, 12:44
Toa Circuit's Avatar
Toa Circuit Toa Circuit is offline
Thaddeus Maximus
AKA: Thad Hughes
FRC #4213 (MetalCow Robotics)
Team Role: Leadership
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Shirley, IL
Posts: 131
Toa Circuit is an unknown quantity at this point
Re: Electronic scouting using 7 laptops and a little mysql

I'm currently working on a server system like that for our scouting. Run web.py on a machine's port 80 (It's simple. It's python. It works on pretty much any system out of the box. And for an application like this, who needs MySQL when you have Sqlite3? Just use python's builtin support for it. ). A bunch of machines connect to it over a web interface, make POST/GET requests to only POST/GET the data they need, and voila: No data corruption since you've neatly wrapped everything. No multiple copies of things (hopefully). No messy excel sheets. It would be cross-platform (since you're just using HTML/CSS/JS), and you could even set the server up remotely and use 4G connection to access it if you prefer that to lugging your system around on laptops which need LAN (since WiFi isn't allowed at competition).

On the topic of networking, could you use a Bluetooth PAN to do this?
__________________

2012 Head of Programming and Electrical
2013-14 Overall Team Captain and Programming Head
2012-14 Mentor of FLL Team Power Surge
2014 Dean's List Finalist
2014 CIR Xerox Creativity Award
Webpage
  #12   Spotlight this post!  
Unread 23-11-2014, 13:37
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 135
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
Re: Electronic scouting using 7 laptops and a little mysql

Use a raspberry pi as your server. Linux based. Easy to setup MySQL, php, and apache on. Very low power.
  #13   Spotlight this post!  
Unread 23-11-2014, 13:52
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Electronic scouting using 7 laptops and a little mysql

I am looking towards a PPTP bridge over serial . You only have one ethernet port, but maybe 3-6 USB ports! Bluetooth would be a great technology to use, however, I haven't found a way to create a PAN network from a computer so that tablets can connect. However, a touch screen might be a powerful weapon against the ghost of scouting!

A RasPi is a perfect choice. If you write your server in a fast language such as C++, there's no need for anything more powerful!
  #14   Spotlight this post!  
Unread 23-11-2014, 14:11
saikiranra's Avatar
saikiranra saikiranra is offline
UCI
AKA: Saikiran Ramanan
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Irvine, CA
Posts: 200
saikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond repute
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by tickspe15 View Post
In 2014 we switched to nexus 7s, that we borrowed from the computer science teacher at school, on a USB network. Tablets are cheeper and less cumbersome and none of them broke.

As the drive coach I was given a tablet with updated data after every match.
This is the ideal set up. Tablets take scouting to the next level because it simplifies UI(It's easier to tap than click in a fast paced match). The only problem is that 7 computers are more accessible than 7 tablets to most teams.

Another way to get data down to the drive coach is by having some sort of data syncing system using mobile Internet. You can either run the scouting server off a website and keep a constant connection (Ideal, so drive coach has up to date information on phone at all times) or have an export SQL script that syncs every few matches to an external source.
__________________
2014 - Current: Team 3476 Electronics, Programming, and Scouting Mentor
2011 - 2014: Team 696 Student and Drive Coach
  #15   Spotlight this post!  
Unread 23-11-2014, 14:33
AdamStockton AdamStockton is online now
Scoutmaster
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Aug 2011
Rookie Year: 2006
Location: Lockport, NY
Posts: 61
AdamStockton will become famous soon enough
Re: Electronic scouting using 7 laptops and a little mysql

Quote:
Originally Posted by saikiranra View Post
This is the ideal set up. Tablets take scouting to the next level because it simplifies UI(It's easier to tap than click in a fast paced match). The only problem is that 7 computers are more accessible than 7 tablets to most teams.
Agreed. Having a touch screen really allows you to get creative with the user interface. For example, our 2012 screen had 3 baskets corresponding to a high, medium, and low basket on the field. Scouts simply tapped the corresponding basket when the robot they were scouting made a basket. There was also a counter next to each basket with a decrement button to allow a scout to correct any mistakes. This was very easy for the scouts to learn, and resulted in better scouting data.

For our first year with an electronic scouting method, we actually borrowed 20 tablets from our schools library for competition. Over that previous summer, the district purchased hundreds of tablets for use in classrooms. Since the tablets weren't very popular with the teachers at the time, we were able to borrow quite a few of them that were pretty much unused. It might be worth checking with your school district to see if they have any tablets that you can borrow.
__________________
Mentor Team 1507 (2013 - Present):
1 Regional Win - FLR 2014
1 Regional Finalist - Buckeye 2013

Student Team 1507 (2009 - 2012):
1 Division Win - Newton 2009
3 Regional Wins - FLR 2009, FLR 2012, Buckeye 2012
1 Regional Finalist - Pittsburgh 2011
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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:56.

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