Go to Post Andy Baker doesn't go to IRI. IRI comes to Andy Baker. - tim_reiher [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2012, 18:16
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
2011 Vision Integrated in the code, but nothing happens

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:
Attached Thumbnails
Click image for larger version

Name:	Tracking_Problem_jan_18.PNG
Views:	37
Size:	283.6 KB
ID:	11447  Click image for larger version

Name:	Tracking_Problem_jan_18_code.PNG
Views:	46
Size:	161.9 KB
ID:	11448  
__________________
"A team back in training !"
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2012, 18:44
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
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.
__________________
Mike B
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2012, 08:15
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2012, 16:31
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: 2011 Vision Integrated in the code, but nothing happens

Use the Rectangular vision processing. Works much better and quite well I might add.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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