Quote:
Originally Posted by ctccromer
This is 3753's third year as a team. Our first year the previous programmer wired the camera to our robot but didn't use it as anything more than a decoration
So yesterday I tried to hook up our Axis camera to begin setting up our team's first camera/aiming system, however without any lights on the camera, I have no idea if I have power to it or not.
I also don't know how to check if the ethernet connection works fine.
|
Both are vastly different in practice.
If you only want to use the camera for viewing on the driver station, all that is needed is to power the camera and connect it to the robots radio. Before you will see a picture on the driver station though, the camera's ip and account info must be updated to match that on the driver station. This is done though a setup utility detailed in the section on setting up a camera
here
If you want to actually process the images, you will most likely want to look into the Vision assistant provided with all of your driver station stuff. If you capture a photo from the camera (By opening 10.37.53.11 in a web browser on your driver station while the camera is operating on your robot), you can load the image into the vision assistant and try out different operations on the image. For example, if you are illuminating the target with green LEDs, you may want to filter out anything that isnt your green color to get the targets in your image and then detect blobs on the screen, effective finding where the goals are in relation to your robot (To be effective, you'll have to do more, that was just an example).
We use Java, and for every function you do on the image, there is an equivilant "wrapper" in java for.
If you use labview, I think you can even just export the processing code directly for use on your crio.
Hope this helped and feel free to ask more questions. Also, search the white papers. There's alot of good stuff in there.