![]() |
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. |
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! |
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! |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
2 Attachment(s)
Quote:
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. |
Re: Electronic scouting using 7 laptops and a little mysql
That is very true. However, for just a server, that's kind of wasteful.
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
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!
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
As the drive coach I was given a tablet with updated data after every match. |
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? |
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.
|
Re: Electronic scouting using 7 laptops and a little mysql
I am looking towards a PPTP bridge over serial :D. 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! |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
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. |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
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. |
Re: Electronic scouting using 7 laptops and a little mysql
Here's out latest white paper on the electronic scouting system we have. http://www.chiefdelphi.com/media/papers/3037
We use tablets instead of laptops because they are considerably cheaper, smaller, and lighter. Be sure to get a high quality switch and cables if you're going to have everything wired together, we used a hardwired system in our first iteration two years ago and had constant problems with disconnecting. Using the tablet's bluetooth has been much easier and much more reliable and now people don't trip over our spider web while trying to get to the bathroom. Also, unless you tether with someone's cell phone having an offline server doesn't allow for any real time data analysis. We purchased a cheap data plan for two of our tablets which upload the data from the 6 other tablets to a virtual server. Then we can do live calculations on that server which makes the data available to be pulled down by a smart phone app made for our drive coach so that he can check team stats in real time before matches. Most of this stuff came after a year of working on our system though so don't bite off more than you can chew, get a simple system that works well going first then start adding features. |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
So what are you going to start collecting cell phones at the door?
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
However, I also see where the rule is a bit general and might not be intended to limit this type of scouting system. |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
All our students are issued iPads (wifi, no cellular, not sure about bluetooth-- I would think so). Are there any existing scouting applications out there that would take advantage of this?
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
That being said, I would say this: If you need to use the Internet, and you work with existing venue infrastructure (say, the venue wireless, or using a cell phone's data plan), I don't think anybody will give you too hard of a time about it. However, if you happen to be broadcasting a WiFi hotspot, you can expect a visit from the FTA, FTAA, a CSA, or the LRI. They'll be there to tell you to shut if off. |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
525 Swartdogs have an apple scouting app: Aerial Scout KnightKrawler built and maintains their own android scouting app: FRCKrawler Nate |
Re: Electronic scouting using 7 laptops and a little mysql
It is quite difficult to use tablets, specifically Apple tablets in the field as you are not allowed to use WiFi and Bluetooth. Some Android tablets, however, have the ability to connect an ethernet cable. I believe that e-scouting is quite reserved to laptops, which have some unbeatable features:
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
Quote:
False. See Quote:
Obligatory disclaimer: 2015 rules may differ. |
Re: Electronic scouting using 7 laptops and a little mysql
http://en.wikipedia.org/wiki/Bluetooth.
Bluetooth runs at the same spectrum as WiFi, the communications used by the FMS. You can guess that there will be some sort of interference that will occur. http://en.wikipedia.org/wiki/Electro...nce_at_2.4_GHz |
Re: Electronic scouting using 7 laptops and a little mysql
Relevant Q&A from last year:
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
On top of the response you just got, I point you to the following threads from within the last year.
http://www.chiefdelphi.com/forums/sh...d.php?t=129261 http://www.chiefdelphi.com/forums/sh...d.php?t=127877 (briefly) http://www.chiefdelphi.com/forums/sh...d.php?t=126509 (I thought the same, though was less set in opinion) http://www.chiefdelphi.com/forums/sh...d.php?t=124721 (and this one is calling you, Yash, because not only does it cover tablets, but you made post #7. :cool: ) |
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
Of course there are technicalities and ethical reasons against using bluetooth, but none are explicitly stated in the rule itself. *Note* 2014 and prior rules have no bearing on the 2015 rules and are subject to change by FIRST |
If you are worried about power consumption then take a look at a raspberry pi
|
Re: Electronic scouting using 7 laptops and a little mysql
Quote:
|
Re: Electronic scouting using 7 laptops and a little mysql
FRC Team 1741 (Greenwoood, IN) does Scouting using a Raspberry Pi running as a LAMP server;
Linux (Raspbian), Apache, MySQL, and PHP(/Javascript/html). It has worked out pretty well for us in the 2014 season. Due to the FIRST rules-restriction of not being able to setup a Wifi hotspot in the stands, we use an 8-port network switch to connect 7 mini-laptops to the scouting subnet. We are in the process of redoing the architecture the underlying MySQL relational database for the 2015 Recycle Rush Challenge. We have a 'Team Rankings Parameters' MySQL table, which the scouters can edit (add/edit) a set of 'named' weighting coefficients for computing Team Rankings based on the selected coefficients 'vector' - and rankings can be computed at any time during scouting. For 2015, the database has changed to allow any scouter to compute rankings independent of other scouters. I would be glad to ZIP up and send (or put onto an internet/ftp server) last year's complete code on request. Jon Cardwell Red Alert Robotics 1741 Mentor |
| All times are GMT -5. The time now is 19:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi