|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Maximum CMU width range
Does anyone know the amount of pixels in the x axis of the camera(servos not moving)? From what I understand, Easyc has those values, but we're using MPLab.
Thanks. ![]() |
|
#2
|
|||||
|
|||||
|
Re: Maximum CMU width range
The answer is in Kevin Watson's "Bells and whistles" version of the camera code, in tracking.h:
Code:
// parameters for CMUcam2 with OV7620 camera module #define IMAGE_WIDTH 159 #define IMAGE_HEIGHT 239 Happy hacking, JBot |
|
#3
|
|||
|
|||
|
Re: Maximum CMU width range
Also, you get about 60 degrees of sight in the wide direction.
|
|
#4
|
|||||
|
|||||
|
Re: Maximum CMU width range
Quote:
Then again, my FOV measurements suggested that the longer dimension (the height) has a narrower FOV than the shorter dimension (the width). I went over my math a few times and had someone else check it over, so I'm pretty sure my measurements are OK. I don't know; I'll take another look at it either tonight or tomorrow night. JBot |
|
#5
|
|||||
|
|||||
|
Re: Maximum CMU width range
Huh, we had it 46.6 degrees....
Thanks again! ![]() Does anyone know the exact(+- 5 degrees) width range? |
|
#6
|
|||
|
|||
|
Re: Maximum CMU width range
It probably depends a bit on how you measure the view angle.
And yes, the pixel dimensions 160x240, makes the camera's field of view taller than it is wide - unlike a TV screen. Jason |
|
#7
|
|||||
|
|||||
|
Re: Maximum CMU width range
Check again. The width of 160 is in "half resolution" mode, with each reported pixel being twice as wide as it is tall. The actual aspect ratio is a perfectly TV-compatible 320x240.
|
|
#8
|
|||
|
|||
|
Re: Maximum CMU width range
I stand corrected. That is not mentioned in tracking.h. You found that in the CMU manufacturer's specs?
|
|
#9
|
|||||
|
|||||
|
Re: Maximum CMU width range
So does anyone have the estimate? I'm not quite sure what the resolutions tell about the camera's width view.
|
|
#10
|
||||
|
||||
|
Re: Maximum CMU width range
Quote:
-Kevin |
|
#11
|
|||
|
|||
|
Re: Maximum CMU width range
Which suggests that vertical, say height, calculations are more accurate.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| axel hole width | Booger | Technical Discussion | 1 | 17-07-2006 16:29 |
| Measuring a Pulse Width | MikeDubreuil | Programming | 22 | 21-07-2005 10:22 |
| Width of the Ball Holders | stuy694 | Rules/Strategy | 2 | 10-01-2004 18:11 |
| Bridge Width Question | archiver | 2001 | 3 | 23-06-2002 22:54 |