Go to Post I think all drivers will be required to wear tights! - Mike Martus [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 23-03-2015, 10:46
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
2015 OPR After Week Four Events

The OPR/CCWM numbers after four weeks of events have been posted, please see

http://www.chiefdelphi.com/media/papers/2174

If you find any error or have any questions, please let me know.

There are a number of points I would like to make:

1) FIRST started showing DQ'd teams with "*" before and after the team number. I did not have time to change my program to "handle" that so I just took out the "*" manually. This means if somebody tries to run the macro with Cntr-Shift-O and there are DQ'd teams for that event, they will get an error message. As a work around for now until I change the program, just manually delete the "*" after you import the data using Cntr-Shift-P.

2) I don't know what FIRST HQ did this week. For the first three weeks, it takes almost a minute to refresh the Standings and Match data. Last night when I ran it, it was lightning speed, even faster than in previous years. Thank you FIRST.
__________________
Please don't call me Mr. Ed, I am not a talking horse.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-03-2015, 13:25
Boltman Boltman is offline
Registered User
FRC #5137 (Iron Kodiaks)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2014
Location: San Diego
Posts: 860
Boltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud ofBoltman has much to be proud of
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ed Law View Post
The OPR/CCWM numbers after four weeks of events have been posted, please see

http://www.chiefdelphi.com/media/papers/2174

If you find any error or have any questions, please let me know.

There are a number of points I would like to make:

1) FIRST started showing DQ'd teams with "*" before and after the team number. I did not have time to change my program to "handle" that so I just took out the "*" manually. This means if somebody tries to run the macro with Cntr-Shift-O and there are DQ'd teams for that event, they will get an error message. As a work around for now until I change the program, just manually delete the "*" after you import the data using Cntr-Shift-P.

2) I don't know what FIRST HQ did this week. For the first three weeks, it takes almost a minute to refresh the Standings and Match data. Last night when I ran it, it was lightning speed, even faster than in previous years. Thank you FIRST.
How do you add pictures to the database? BTW thanks for doing this. Interesting to compare to our live scouting.
__________________

Iron Kodiaks Team #5137 San Marcos, CA

2016 Semi-Finalist | Central Valley Alliance Captain #2
2016 Semi-Finalist | San Diego 2nd bot alliance #8
2015 Semi-Finalist | Ventura 3rd bot alliance #3
2015 Quarter-Finalist| San Diego 2nd bot alliance #5
2014 Rookie All-Star | #21 San Diego | Galileo Division #91
Reply With Quote
  #3   Spotlight this post!  
Unread 23-03-2015, 16:44
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ed Law View Post
If you find any error or have any questions, please let me know.
Ed, how did you compute world component OPRs this time around?


Reply With Quote
  #4   Spotlight this post!  
Unread 23-03-2015, 17:01
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ether View Post
Ed, how did you compute world component OPRs this time around?


Same way as last week.
http://www.chiefdelphi.com/forums/sh...05&postcount=7


Quote:
Originally Posted by Boltman View Post
How do you add pictures to the database? BTW thanks for doing this. Interesting to compare to our live scouting.
Instructions are in the sheet called "Instructions" which is the first tab from the left. You have to take the pictures of the robots. The pictures need to be in the same directory as the Scouting Excel file and be named team#.jpg, e.g. 2834.jpg or 5137.jpg
__________________
Please don't call me Mr. Ed, I am not a talking horse.

Last edited by Ed Law : 23-03-2015 at 17:07.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-03-2015, 17:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ed Law View Post
Same way as last week.
Were you able to speed up the computation ?



Last edited by Ether : 23-03-2015 at 17:09. Reason: added link
Reply With Quote
  #6   Spotlight this post!  
Unread 23-03-2015, 20:38
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Thanks for all your suggestions. I don't think Excel or my computer has those options. I really don't have time to investigate. My solution is start running the macro, walk away and do other things around the house and go back in an hour. I don't think it would need an hour but it was done when I got back.

The part that takes the longest time is A(T) * A. To not assemble the A matrix like you suggested would require a lot of reprogramming which I don't have time. Also when calculating the component OPR I have to solve A x = b 6 times. It may be better to just assemble A once instead of 6 times. As for sparse matrix solver, it will certainly help but A(T) x A takes a lot longer than the equation solving part. I am waiting for a VBA version of the sparse matrix solver to be available and then I will switch over from using Cholesky decomposition.
__________________
Please don't call me Mr. Ed, I am not a talking horse.

Last edited by Ed Law : 23-03-2015 at 21:31.
Reply With Quote
  #7   Spotlight this post!  
Unread 23-03-2015, 22:21
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ed Law View Post
The part that takes the longest time is A(T) * A.
Did you try making [A], [A'], and [N] integer instead of floating point? If VBA supports integer matrix multiplication that would probably substantially reduce the computation time. Use the native word size of your machine for the integer size. Your machine is probably 64bit word size? So make the elements of each matrix 64-bit integers.

Quote:
Originally Posted by Ed Law View Post
I have to solve A x = b 6 times
Once you've created [N]=[A'][A] you can use that [N] matrix to solve for all 6 components at once.

[N][x]=[d]

If you make [d] a 6-column matrix instead of a vector you can solve it once and get a 6-column matrix [x] with all 6 solutions.


Reply With Quote
  #8   Spotlight this post!  
Unread 24-03-2015, 23:01
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ether View Post
Did you try making [A], [A'], and [N] integer instead of floating point? If VBA supports integer matrix multiplication that would probably substantially reduce the computation time. Use the native word size of your machine for the integer size. Your machine is probably 64bit word size? So make the elements of each matrix 64-bit integers.



Once you've created [N]=[A'][A] you can use that [N] matrix to solve for all 6 components at once.

[N][x]=[d]

If you make [d] a 6-column matrix instead of a vector you can solve it once and get a 6-column matrix [x] with all 6 solutions.


The solver I have is expecting a vector d so I cannot use a 6 column matrix like you suggested. I agree it will have some improvement in efficiency but I cannot do it that way.
__________________
Please don't call me Mr. Ed, I am not a talking horse.
Reply With Quote
  #9   Spotlight this post!  
Unread 25-03-2015, 10:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ed Law View Post
The solver I have is expecting a vector d so I cannot use a 6 column matrix like you suggested. I agree it will have some improvement in efficiency but I cannot do it that way.
Are you still using ALGLIB? It has a Cholesky solver that accepts a matrix for the right-hand side.

Last edited by Ether : 25-03-2015 at 11:43.
Reply With Quote
  #10   Spotlight this post!  
Unread 25-03-2015, 10:52
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ether View Post
Are you still using ALGLIB? It has a Cholesky solver that accepts a matrix for the right-hand side.
Yes I am using ALGLIB. I am using SPDMatrixCholeskySolve.
__________________
Please don't call me Mr. Ed, I am not a talking horse.
Reply With Quote
  #11   Spotlight this post!  
Unread 25-03-2015, 11:23
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by Ed Law View Post
Yes I am using ALGLIB. I am using SPDMatrixCholeskySolve.
Take a look at spdmatrixcholeskysolvem

.
Attached Thumbnails
Click image for larger version

Name:	spdmatrixcholeskysolvem.png
Views:	27
Size:	13.3 KB
ID:	18718  

Last edited by Ether : 25-03-2015 at 11:42.
Reply With Quote
  #12   Spotlight this post!  
Unread 25-03-2015, 12:28
David8696's Avatar
David8696 David8696 is offline
I.A.A.R. Lord
AKA: David Bluhm
FRC #2485 (W.A.R.Lords)
Team Role: Alumni
 
Join Date: Mar 2013
Rookie Year: 2012
Location: San Diego
Posts: 137
David8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud ofDavid8696 has much to be proud of
Re: 2015 OPR After Week Four Events

I'm wondering if there's a web database out there of this data that could be queried real-time for a scouting app. I know TBA has top 15 OPR rankings for individual events, but I'm fairly certain there's no storage of full-season OPR's (or the OPR's for more than the top 15 robots at an event). If I'm wrong, please let me know; if I'm right, I'd love to know where I could find something like this.
__________________
2015 Inland Empire Regional Innovation in Control Award
2015 IE Quarterfinalists
2014 Highest Unpenalized Score in Aerial Assist (370 points with 51 and 1918)
2014 Archimedes Semifinalists
2014 Las Vegas Regional Champions
2014 NVLV Excellence in Engineering Award sponsored by Delphi
2014 San Diego Regional Finalists
2014 CASD Quality Award sponsored by Motorola
2013 Inland Empire Regional Winners
2013 IE Excellence in Engineering Award sponsored by Delphi
2013 Battle at the Border Winners
2013 BATB Giving Award
2013 BATB Most Valuable Team
2013 San Diego Regional Finalists
2013 SD Creativity Award sponsored by Xerox
Reply With Quote
  #13   Spotlight this post!  
Unread 25-03-2015, 12:37
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: 2015 OPR After Week Four Events

Quote:
Originally Posted by David8696 View Post
I'm wondering if there's a web database out there of this data that could be queried real-time for a scouting app. I know TBA has top 15 OPR rankings for individual events, but I'm fairly certain there's no storage of full-season OPR's (or the OPR's for more than the top 15 robots at an event). If I'm wrong, please let me know; if I'm right, I'd love to know where I could find something like this.
TBA stores the per-event OPR for every team at the event (although only the top 15 are displayed).

There is an API Endpoint for Stats which will return OPR, DPR, and CCWM for each team attending the event.

We're planning on adding more insight data to the API in the next offseason, and we'll consider doing full-season OPR.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
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 13:45.

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