Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   2011 Vision Integrated in the code, but nothing happens (http://www.chiefdelphi.com/forums/showthread.php?t=100583)

whcirobotics 18-01-2012 18:16

2011 Vision Integrated in the code, but nothing happens
 
2 Attachment(s)
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:

SuperS_5 18-01-2012 18:44

Re: 2011 Vision Integrated in the code, but nothing happens
 
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.

Alan Anderson 19-01-2012 08:15

Re: 2011 Vision Integrated in the code, but nothing happens
 
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.

Mike AA 21-01-2012 16:31

Re: 2011 Vision Integrated in the code, but nothing happens
 
Use the Rectangular vision processing. Works much better and quite well I might add.


All times are GMT -5. The time now is 11:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi