![]() |
Change CMU target on the fly
Does anyone know if CMU target (meaning image) can be changed on the fly (meaning when robot in autonomous or driver controlled via radio).
Konstantin |
Re: Change CMU target on the fly
Quote:
|
Re: Change CMU target on the fly
I guess my understanding of the camera functionality was not complete. I had an impression (by reading the setup guide) that you have to "teach" the camera by giving it a target image. Looks like GUI can convert the target image into set of parameters to be loaded to the camera. Is it correct understanding? My idea was to track the ball when you shoot it and track the goal when you drive to it.
Konstantin |
Re: Change CMU target on the fly
Quote:
Second, you should have no problems tracking the green light box, but I very much doubt you will be able to track the ball in flight. The issue is that the color is not constant - not only do the balls come in different colors, they are half black and half red (for example) and so the camera doesn't know what to track - red or black. Your understanding of the camera function is reasonably correct. You teach it a color to track, and it returns not an image but a set of coordinates, telling you where the target is relative to (something)-- 26 degrees up and 13 degrees to the left, for example. That's a bit of a simplification, but not much. Read the CMUcam book from usfirst.org Don |
| All times are GMT -5. The time now is 04:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi