I have followed the correct steps as shown in FRC mastery and integrated the 2011 vision code in the robot code but these are some of the errors that i get:
I can see the original image on Vision processing.vi but the thearshold and annoted view do not appear:
These are the pictures of the code and the front panel:
That appears to be the example for last year. That algorithm will not work this year.
Apart from that, I don’t see much wrong here. It appears that the source image type may not match your Threshold parameters. Are there any errors on the wire when you run? You can also split this off into a separate VI which can be tested on a PC, so you can remove some of the variables.
We have not posted any examples yet this year at ETC.
The 2011 example probably looks for the camera at IP address 192.168.0.90 (plugged in to the cRIO’s second Ethernet port). Your camera is likely configured for 10.15.14.11 and is plugged into the DAP instead. Change the address in Begin.vi so the code can find the camera.
Use the Rectangular vision processing. Works much better and quite well I might add.