Go to Post Engineering is so much easier when you give all the components personalities. Then you just watch the drama unfold and try to fix it. - EricVanWyk [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 16-05-2014, 12:41
davidaustin davidaustin is offline
Registered User
FRC #4003 (FRC 4003 TriSonics / FTC 7023 HexaSonics)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2008
Location: Allendale, Michigan
Posts: 20
davidaustin is an unknown quantity at this point
Re: [FTC]: Championship OPR?

OK, thanks for helping me to understand this. I apologize for reporting those earlier results, which I have removed from this thread.

Here's what I am doing: N is the number of teams, and M is the number of matches.

--Form the 2MxN matrix A whose entries are zero except where A[2m+c][j] = 1 if team j played on the c (=0 for red and 1 for blue) alliance in match m.

--Form the 2M-dimensional vector S where S[2m+c] is the score of the c alliance in match m.

--We want to solve the overdetermined system Ax = S so we multiply by A^T to get

A^T A x = A^T S

--Write A^T A as L L^T using the Cholesky factorization so that we have

L L^T x = A^T S.

--We solve L y = A^T S and then L^T x = y to find x, which holds the OPRs.

Does this look correct? I'm not seeing the error in my code. Thanks again!
Reply With Quote
 


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 18:14.

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