|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
CMUCam pan and tilt
Ok i changed all of the settings so that the camera can find the object but when it tries to track it and move it in the center it goes off of the page. the tilt works perfectly but the pan goes left instead of right and right instead of left. i been working all day and i need some major help because i am going to go insane
.~sheyna |
|
#2
|
|||
|
|||
|
Re: CMUCam pan and tilt
Are you using LabView, or testing straight from the RC?
|
|
#3
|
||||
|
||||
|
Re: CMUCam pan and tilt
There is a jumper on the camera board that allows you to reverse the servo direction!
Go to: http://ifirobotics.com/camera.shtml and download the Camera Board Markings.zip file and it is in the CMU Cam Assembly.pdf on the right side! Last edited by iBheat : 14-01-2006 at 18:29. |
|
#4
|
||||
|
||||
|
Re: CMUCam pan and tilt
Quote:
I am guessing we remove the latter, but would not this reverse both servo directions, failing to correct anything? Thanks =/ |
|
#5
|
|||
|
|||
|
Re: CMUCam pan and tilt
Quote:
Also, this will only work if you use the CMUcams servo outputs (I think) |
|
#6
|
||||
|
||||
|
Re: CMUCam pan and tilt
Quote:
Ah yeah thanks, I see it now. Someone else also just pointed this out to me @.@ I can't believe I didn't see that... |
|
#7
|
|||||
|
|||||
|
Re: CMUCam pan and tilt
You can also change the direction in the code where
#define PAN_ROTATION_SIGN_DEFAULT -1 #define TILT_ROTATION_SIGN_DEFAULT 1 in tracking .h |
|
#8
|
||||
|
||||
|
Re: CMUCam pan and tilt
I also agree with devicenull in saying that jumping the jumper will only work if you have the servos controlling the pan and tilt connected to the camera board. But if you are connecting it to the RC and using the code written by Kevin you will have to edit the code (in tracking.h) that Bharat Nain posted in the post before this!
|
|
#9
|
|||
|
|||
|
Re: CMUCam pan and tilt
We had to add a jumper and change the direction in the code in order for our camera to track properly.
|
|
#10
|
||||
|
||||
|
Re: CMUCam pan and tilt
oh aight thank ya'll
~sheyna |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LabVIEW - CMUcam finds target but cant track | bear24rw | Programming | 6 | 13-01-2006 21:43 |
| 2 (hopefully) easy CMUcam questions. | Validius | Programming | 0 | 30-12-2005 22:42 |
| Tilt Troubles | Mumford 406 | Programming | 4 | 29-03-2005 22:19 |
| Dashboard View of Pan and Tilt Servo Values | JoeXIII'007 | Programming | 1 | 02-02-2005 22:34 |