View Single Post
  #5   Spotlight this post!  
Unread 27-01-2012, 22:32
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
Re: Sending Processed Image Stream to Dashboard?

Quote:
As to the original question about sending images to the dashboard. If it is just for debugging, is there a reason you aren't simply probing the wire? If you run RobotMain by pressing the Run arrow, you are running out of RAM and can right click on wires to view data values, including images. Remember to right-click and change Palette to Binary if the image is a binary image. You can probe other types, you can set breakpoints, pause VIs, etc.

The reason to spend the effort to work these things into the dashboard is because you want them at an event where you will have to run deployed.
Okay, I have had some success probing the camera image prior to processing on my VI, but probing at the output of the VI results in a black screen. Opening the VI and probing various points within it also gives a black screen, with occasionally a flash of camera image (unprocessed). Probing the numerical results of the image processing works fine -- I can see the number of objects detected, etc. But trying to use the probe to view images has not worked for me.

Regardless, I would really like to send the processed image stream back to the Dashboard, instead of using the Dashboard to view the actual camera footage. Ideally I would like to be able to switch between the two.

Q1: how do I insert the processed image stream into the data bundle going back to the Dashboard?
Q2: how do I pull that image stream back out of the data bundle and view it on the Dashboard?
Q3: other than these two items, is there anything else that I would need to do?

Thanks a bunch!
Daniel
__________________
Team 1731
Fresta Valley Robotics

Catch the FeVeR ~ If You Can!