View Single Post
  #1   Spotlight this post!  
Unread 28-02-2014, 11:52
btgdaniel's Avatar
btgdaniel btgdaniel is offline
Registered User
FRC #1731 (Fresta Valley Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Warrenton, VA
Posts: 20
btgdaniel is an unknown quantity at this point
Display processed images on Dashboard?

Here is something I have not been able to get working:

I am using the same Vision Assistant-produced VI (rectangleisolation_OLD) on my Dashboard, as I am in the robot's VisionProcessing.vi. My intent is to see the same images on the Dashboard as I see when probing the output of the VI on the robot.

When probing the output of the VI on the robot, I always set the Palette to binary to see the processed images. I end up seeing RED rectangles that have been isolated for target consideration by another VI (not relevant to this post). It is those RED rectangles that I want to see on the Dashboard.

Here is my code: (see attachment 1)

The "False" case simply passes the unprocessed images through to the "Camera Image" object -- that part works just fine (as it always has) -- I can see what the camera sees.

In the "True" case, I am feeding the same RGB values into the VI on the Dashboard as I am on the robot. And, I have set the "Palette" property of the "Camera Image" object on the Dashboard to binary.

However, the result is always a black screen: (see attachment 2)

Although, I do occasionally see a "flicker" of the unprocessed images.

What am I doing wrong? Has anyone made this work?

Thank you!
Attached Thumbnails
Click image for larger version

Name:	dashboard_debug1.png
Views:	41
Size:	32.5 KB
ID:	16415  Click image for larger version

Name:	dashboard_debug2.png
Views:	20
Size:	21.5 KB
ID:	16416  
__________________
Team 1731
Fresta Valley Robotics

Catch the FeVeR ~ If You Can!
Reply With Quote