|
Re: Could Never Get Camera To Work
It is very unlikely that something is wrong with your cRIO that allows everything else to work, but the camera only sorta works.
There are plenty of camera settings that could cause the code to be wonky. I'd highly recommend connecting the camera directly to a PC and running NI Vision Assistant. If you set the PC IP to 192.168.1.xx other than 90, it will let you use the camera to get a feel for the focus, color, contrast, etc. It will let you view the settings your camera is using or change them. Once you know that your camera is working as you expect, it may also be useful to isolate your code to make a camera and gimbal only project. Work on this in isolation from the rest of the robot and see if you can debug its behavior.
Once that works well enough, you can hopefully reintegrate it with the robot -- without making the code a mess.
Greg McKaskle
|