View Single Post
  #1   Spotlight this post!  
Unread 06-02-2012, 09:43
iblis432 iblis432 is offline
Co Captain/Chief Programmer
AKA: Bobby
FRC #2106 (Junkyard Dogs)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Virginia
Posts: 146
iblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to beholdiblis432 is a splendid one to behold
modifying the camera image on the dashboard

I was successful in integrating the vision code from the example into the robot code and all works well on that end, but I am having trouble supplying that data to the dashboard. I am trying to send the image of that black and red screen that appears when looking at the rectangle, along with the overlay. My preference would be to have an unchanged image next to the modified image.

My first try was to simply send the image through "Set User Data High" but it returned a blank image on the dashboard.

Next I tried copying the code from the vision processing vi into my dashboard code, hoping I could just have the computer process the square locations and build the new image, but again the image remained blank.

I can post the code this evening. Does anyone know how I can get what I am looking for?
__________________
"Don't worry, programming can fix it"
Reply With Quote