|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
What's this number 80 in error math?
In some examples I've seen of tracking math, the error value is calculated by subtracting the centroid from 80. What does 80 mean? why is it 80?
|
|
#2
|
||||
|
||||
|
Re: What's this number 80 in error math?
Quote:
Anyway, this may have to do with the fact that on the horizontal axis, the center pixel is the 80th. That's my guess anyway. Where did you see this? -Kevin |
|
#3
|
||||
|
||||
|
Re: What's this number 80 in error math?
Well we figured out that the 80 has something to do with driving and gyros, which isn't what I'm doing at this time. However I now have another question. What is the range of the centroid values returned from the camera? 0-255?
[edit] oh and this is actually the lead programmer who's too lazy to make an account posting [edit] upon printfing the x centroid, it only returns 0 regardless of the light. Any idea what is causing this? Last edited by K.Porter : 25-01-2007 at 18:19. |
|
#4
|
|||
|
|||
|
Re: What's this number 80 in error math?
When the camera doesn't "see" the light it returns 0 for the centroid.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Math.h sin syntax error | Sykan | Programming | 8 | 21-01-2007 09:26 |
| What's this dance song | Kyle Fenton | Chit-Chat | 5 | 01-05-2006 21:28 |
| What's happening to this program??? | Weightmn | General Forum | 22 | 04-04-2005 15:40 |
| What's this vCard thing? | Brandon Martus | CD Forum Support | 1 | 02-12-2003 13:35 |