|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Camera Works Well with the Balls!
I have followed all of the troubleshooting tips and instructions given by Kevin and IFI. I can confirm all of the initialization on the camera easily, and it does initialize, however tracking is where the majority of the problem is.
At the moment I have some custom code working the camera quite nicely. It can track the red ball (the only one we have) pretty well. The code only works to ensure that the camera is in tracking mode (not just idiling). Tomarrow I hope to add functionality for searching, register changes on the fly, and manual control. I will post the code sometime next week. The main difference is turning over servo control to the camera, instead of the controller. In collecting output, I had noticed that the camera would tell the controller that it had sufficient confidence to start tracking, however, if the next packet denies this (perhaps the ball has moved and the confidence is slightly decreased) the code restarts. Thanks all for the suggestions, but I have struggled with this camera for 2 years, and in 2 days I was able to get it working. Hasta! |
|
#2
|
|||||
|
|||||
|
Re: Camera Works Well with the Balls!
using the camera on the big balls makes sense. they look the same shape from any direction and they're enormus. you can't miss them. with all the hussle and bussle of 6 robots zipping arround having an auto aim for picking up balls even would be an advantage
|
|
#3
|
||||
|
||||
|
Re: Camera Works Well with the Balls!
Quote:
Quote:
--Ryan |
|
#4
|
|||
|
|||
|
Re: Camera Works Well with the Balls!
Hey all,
The camera is working great when we hand servos to the board (the way the CMU guys made it to work). Newer boards can do this by getting the servo angle that the camera is desiring and then sending that to the appropriate PWM. We however are using an older board that still has the PWM outs. Cant post the code because it uses Kevin's serial code. Snippits on the way! Hasta! |
|
#5
|
|||||
|
|||||
|
Re: Camera Works Well with the Balls!
The older camera board is illegal. You have to use RevA of the CMUCam2 board since it is COTS (sold at IFI).
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera did not work for well at the regionals, but worked great at home. | Alan Ing | Programming | 12 | 17-04-2006 17:43 |
| 1281's camera isnt working too well | ThomasH | Regional Competitions | 1 | 31-03-2006 00:27 |
| Blocking balls with balls allowed? | MrBamboo | Rules/Strategy | 16 | 27-01-2006 19:59 |
| Help with the balls! | tchescow | Kit & Additional Hardware | 11 | 20-01-2004 10:52 |
| Will ANYONE mess with the black balls? | archiver | 2001 | 0 | 23-06-2002 22:35 |