Go to Post My teams robots have been good, bad and ugly BUT they were all beautiful because they were there. - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 02-02-2015, 17:18
icq10 icq10 is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Unknown
Posts: 24
icq10 is an unknown quantity at this point
Dashboard Camera Vision Processing Issues

My situation is very complicated so I try to make it as easy as possible.

We have a camera on our robot and want to have it on our dashboard once with the real image and once with a vision processing filter.

So we created a vision.vi and tried to split the camera input in the dashboard main.vi to the 2 camera image displays.

1.The camera image without vision processing works perfect, but the 2nd image shows nothing.

2. The Vision.Vi is not the issue, we created a separate vi without FRC dashboard and there the camera image gets filtered and displayed perfectly.

So I am assuming that there is an issue with the dashboard input or output of the vision, but I do not know where. I include images of the dashboard main.vi and the vision.vi

Please help me!
Attached Thumbnails
Click image for larger version

Name:	mainvi.PNG
Views:	36
Size:	746.2 KB
ID:	18097  Click image for larger version

Name:	visionvi.PNG
Views:	35
Size:	221.3 KB
ID:	18098  
  #2   Spotlight this post!  
Unread 02-02-2015, 17:30
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,113
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: Dashboard Camera Vision Processing Issues

The second image shows "nothing", meaning completely black? You're probably trying to view a threshholded binary image (consisting of 0 and 1 pixels) in an indicator that has a color palette where 0 and 1 are almost indistinguishably dark.

Change the properties of the indicator to have a binary palette instead.
  #3   Spotlight this post!  
Unread 02-02-2015, 17:37
icq10 icq10 is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Unknown
Posts: 24
icq10 is an unknown quantity at this point
Re: Dashboard Camera Vision Processing Issues

No, it does not even show black. It is just the area of the camera, with the slightly lighter gray in the background. I am pretty sure that nothing even arrives to the dashboard.
  #4   Spotlight this post!  
Unread 02-02-2015, 17:45
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,113
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: Dashboard Camera Vision Processing Issues

Your vision.vi is broken, as shown by the fractured "run" arrow. Click on the arrow and it will present a list of errors that you need to address.
  #5   Spotlight this post!  
Unread 02-02-2015, 17:59
icq10 icq10 is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Unknown
Posts: 24
icq10 is an unknown quantity at this point
Re: Dashboard Camera Vision Processing Issues

Changed the Display Palette on the Dashboard Main.Vi to Binary as you described it before. Works perfect! Thank you very much!
Closed Thread


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 21:03.

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