Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Android App - FRC Spyder (http://www.chiefdelphi.com/forums/showthread.php?t=83791)

Mike Soukup 30-11-2010 13:56

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by billbo911 (Post 982696)
Is there any chance this app will be updated

Certainly
Quote:

refined,
Probably
Quote:

improved etc.
Probably. The number of new features I add depends on how much motivation I have and how much time I can dedicate to working on it.

Quote:

One suggestion/request: Could a "Offensive Power Ranking" algorithm be added? Maybe a "Defensive Power Ranking" as well? One that is run for each competition.
I'll add it to the to-do list, but there are no guarantees that it will be near the top. I have a few items I want to get done first, then I'll consider everything else.

JesseK 30-11-2010 14:15

Re: Android App - FRC Spyder
 
On a phone, the OPR/DPR calculations will eat up battery life as if there weren't enough LiPo cells in the universe. Thus, this information is best calculated on a server and fed to the clients. I've experimented with just such a program that does OPR/DPR based off of the live frcfms Twitter feed for IRI, and the results weren't pretty.

Since I used Java on a my jailbroken iPhone, I should be able to do some rewrites for use on a Netbook; however battery life and internet connections are still a concern.

billbo911 30-11-2010 21:06

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by Mike Soukup (Post 982698)
Certainly

Probably

Probably. The number of new features I add depends on how much motivation I have and how much time I can dedicate to working on it.


I'll add it to the to-do list, but there are no guarantees that it will be near the top. I have a few items I want to get done first, then I'll consider everything else.

I just noticed, this is my 1000th post on CD.

That is good to hear.
I am not a programmer by trade, but in supporting two teams over the last 7 years, I have done a fair share of the coding. I am more than willing to contribute if you need it. PM me if I can help.

Quote:

Originally Posted by JesseK (Post 982703)
On a phone, the OPR/DPR calculations will eat up battery life as if there weren't enough LiPo cells in the universe. Thus, this information is best calculated on a server and fed to the clients. I've experimented with just such a program that does OPR/DPR based off of the live frcfms Twitter feed for IRI, and the results weren't pretty.

Since I used Java on a my jailbroken iPhone, I should be able to do some rewrites for use on a Netbook; however battery life and internet connections are still a concern.

Jesse,

Wow, excellent feedback and input. I definately se your point.

I have to assume FIRST will not be allowing teams to set up WiFi networks at competitions this year either, so having a local server may not be an option, but that doesn't stop us from using one of the other OPR/DPR apps that are already out there in conjunction with the Droid apps. like FRC Spyder. Now I'm certain some bright soal will find a way to have the OPR/DPR running on a server and then making the result available via a Droid app. in no time.:yikes:

Chris is me 30-11-2010 21:10

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by JesseK (Post 982703)
On a phone, the OPR/DPR calculations will eat up battery life as if there weren't enough LiPo cells in the universe. Thus, this information is best calculated on a server and fed to the clients. I've experimented with just such a program that does OPR/DPR based off of the live frcfms Twitter feed for IRI, and the results weren't pretty.

Since I used Java on a my jailbroken iPhone, I should be able to do some rewrites for use on a Netbook; however battery life and internet connections are still a concern.

I've noticed no drop off in battery life using the OPR function in FRC Tracker for iPhone...

synth3tk 01-12-2010 10:15

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by billbo911 (Post 982807)
That is good to hear.
I am not a programmer by trade, but in supporting two teams over the last 7 years, I have done a fair share of the coding. I am more than willing to contribute if you need it. PM me if I can help.



Jesse,

Wow, excellent feedback and input. I definately se your point.

I have to assume FIRST will not be allowing teams to set up WiFi networks at competitions this year either, so having a local server may not be an option, but that doesn't stop us from using one of the other OPR/DPR apps that are already out there in conjunction with the Droid apps. like FRC Spyder. Now I'm certain some bright soal will find a way to have the OPR/DPR running on a server and then making the result available via a Droid app. in no time.:yikes:

But we're talking about cell phones. Unless you have no signal (which is entirely possible at some regionals), WiFi won't be a problem if it's calculated on an internet server. Probably more reliable and speedy, too. I can donate a server if it comes to that. Or AppEngine would be a great resource to try first.

billbo911 01-12-2010 12:29

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by synth3tk (Post 982876)
But we're talking about cell phones. Unless you have no signal (which is entirely possible at some regionals), WiFi won't be a problem if it's calculated on an internet server. Probably more reliable and speedy, too. I can donate a server if it comes to that. Or AppEngine would be a great resource to try first.

synth3tk,

You and I are on the same page. If the OPR/DPR could be running in real time on a web server some place, then all a programmer would need to do is grab the data set for the desired regional and display it. Again, speaking from my limited programming skills, that doesn't seem to be too difficult.
(BTW, I might be able to put a server on line as well. I'll see if I can blow the dust out of it and bring it up in the next day or so.)

Bongle already has an app. that does the data gathering and processing. A scheduled set of batch files calling his app could be run on the server and the data could be automatically created, say once every 2-3 minutes. With that piece already working, the integration of the generated data should be "fairly simple".

Pat Fairbank 01-12-2010 16:56

Re: Android App - FRC Spyder
 
I was playing around with something like this a few weeks ago.

http://frcstats.appspot.com/opr/arc/2010

Output formatting liable to change.

synth3tk 02-12-2010 07:35

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by Pat Fairbank (Post 982929)
I was playing around with something like this a few weeks ago.

http://frcstats.appspot.com/opr/arc/2010

Output formatting liable to change.

That takes care of that, then!

billbo911 02-12-2010 12:55

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by Pat Fairbank (Post 982929)
I was playing around with something like this a few weeks ago.

http://frcstats.appspot.com/opr/arc/2010

Output formatting liable to change.

That works well. I also tried swapping out the year and competition site and it worked correctly.
I can see where formatting might need an adjustment or two, but the first step is well on it's way to completion.

Depending on this years game, having access to DPR as well might be nice.

BTW, are you using your own code, or a modified version of something else in the background?

Pat Fairbank 02-12-2010 16:07

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by billbo911 (Post 983058)
BTW, are you using your own code, or a modified version of something else in the background?

I wrote my own code. It's pretty ugly, given that Google's Python environment for App Engine doesn't have any libraries that provide support for manipulating and multiplying matrices.

I basically just pounded it out in a couple of hours, then completely lost interest once I saw it was working - but my plan is to eventually make it more visually-friendly, with bar graphs or something. I could make a raw output version too (JSON or XML), if there was demand for it.

JesseK 03-12-2010 10:33

Re: Android App - FRC Spyder
 
Nice webpage Pat. I wouldn't worry about making it too fancy at the moment. Perhaps it could provide some other statistics like match score average for a team, match score standard deviation for a team, and DPR. My only other request for the page would be to put headings at the top of the page that state the order of the data.

As it is, the generated page is very nice because the html is easily parsable by any other app. Further extensions would make the data XML-based, yet the coupling of the parsing for it would be about the same:
Code:

11 5.30<br>16 11.50<br>20 8.50<br>67 10.90<br>93 7.10<br>102 6.40<br>116 2.40<br>117 3.70<br>120 4.70<br>125 4.90<br>128 4.70<br>151 5.90<br>166 6.30<br>177 6.60<br>178 5.60<br>226 6.90<br>281 6.30<br>294 11.10<br>308 8.80<br>337 9.40<br>342 4.20<br>343 9.50<br>399 7.10<br>461 5.20<br>486 7.60<br>525 9.80<br>533 4.80<br>558 6.60<br>585 6.60<br>612 4.70<br>647 3.91<br>668 8.50<br>706 9.00<br>772 5.20<br>801 4.60<br>829 8.10<br>842 8.60<br>868 6.20<br>896 3.90<br>910 9.90<br>932 6.50<br>971 8.70<br>1073 7.50<br>1208 7.50<br>1296 4.70<br>1311 5.60<br>1452 3.80<br>1551 5.60<br>1592 8.60<br>1718 10.00<br>1727 4.90<br>1868 8.80<br>1902 8.40<br>1922 8.80<br>2023 6.20<br>2102 3.70<br>2137 9.50<br>2164 5.00<br>2265 7.40<br>2341 3.80<br>2377 5.70<br>2415 8.50<br>2424 5.40<br>2465 6.70<br>2497 4.50<br>2506 5.70<br>2534 4.70<br>2614 7.20<br>2619 8.70<br>2638 4.10<br>2669 6.40<br>2757 8.50<br>2771 8.60<br>2895 4.70<br>2914 3.20<br>3038 6.40<br>3083 5.90<br>3123 4.90<br>3125 6.00<br>3128 4.09<br>3161 4.73<br>3168 7.50<br>3176 6.90<br>3231 5.10<br>3238 4.30<br>3306 3.73<br>

timothyb89 11-12-2010 18:01

Re: Android App - FRC Spyder
 
Quote:

Originally Posted by JesseK (Post 982703)
On a phone, the OPR/DPR calculations will eat up battery life as if there weren't enough LiPo cells in the universe. Thus, this information is best calculated on a server and fed to the clients. I've experimented with just such a program that does OPR/DPR based off of the live frcfms Twitter feed for IRI, and the results weren't pretty.

Since I used Java on a my jailbroken iPhone, I should be able to do some rewrites for use on a Netbook; however battery life and internet connections are still a concern.

All of the OPR and DPR calculations I've done were practically instantaneous... but, I'm generally working with local data. Considering how powerful the average Android phone is, I'd say it shouldn't take more than 10 seconds -- quick to the point where it would probably take more power to download the data than to calculate the scores locally.
I'd say that your matrix library is either awfully inefficient or you don't have local data to work with...

Yalib 11-08-2011 11:20

Re: Android App - FRC Spyder
 
I downloaded this great app (good job! :) ) to my brand new Galaxy S-2 but when i set a team for push notifications i get a message: The device is not registered for push notifications. go to settings... and then i go to the settings and i get: registering... registration in progress.... its like that for 2 hours now...
is it because their are no competitions now or is there a problem on my specific phone?

thanks

Navid Shafa 08-01-2014 07:31

Re: Android App - FRC Spyder
 
Will there be an FRC Spyder update for 2014? Or a fresh Install?


All times are GMT -5. The time now is 16:36.

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