View Single Post
  #2   Spotlight this post!  
Unread 15-01-2012, 21:37
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Sending a thresholded picture to dash

All you are doing with this code segment is performing an operation on an image object. This does not send the image to the dashboard. I don't know if a modified image can be sent to the dashboard, or how much effort it would involve (I know the 2010 vision demo drew circles on the image, but...). It may be possible with a custom dashboard - ZomB or SmartDashboard springing to mind - though I don't know enough about these to say either way. I know it would be possible to send the binary image data and have them draw it, but I don't know if the image object can be sent directly. SmartDashboard at least does not have any putImage or equivalent function, and no Image or related class implements SmartDashboardData.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote