|
Camera Works Well with the Balls!
Hey all!
For two years we have struggled intensely with the camera and getting it to work, at all.
Last year we found out that the camera's auto gain function didn't account for the light, and thus the light was simply registered as a white box (overexposure cannot be handled per-wavelength.)
This year we wanted a way to know where one of our balls is in order to knock it down during autonomous very accurately without wasting time sending commands from remote.
Because the balls are just lit, and don't glow, they work well with the camera. However, when we turn over control of the camera to the controller (instead of my computer) we were dissappointed to see absolutely no activity (the code stalls). This lead us to realize that Kevin's code does not work well...no offense to him.
We are writing some new code that gives most of the control to the camera, instead of trying to run the servos with the FRC controller. I will be posting an alpha version of the code for tracking the balls soon.
If you want to help out that would be great. On my team I am the only person doing programming, and thus cant give a whole lot of time to the camera. All you need is a good understanding of how the camera communicates with the controller and how to program C.
Thanks all!
-James
|