Go to Post If they don't treat Dave nicely, he may just keep his big red ball, and not share with rest of us. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2011, 18:40
v2oxviesta's Avatar
v2oxviesta v2oxviesta is offline
Brendan
FRC #3926 (MPArors)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2012
Location: Woodbury, Minnesota
Posts: 17
v2oxviesta is an unknown quantity at this point
Dashboard Camera Image

I was wondering if there was a way to change the camera feed image in the FRC Dashboard. Our team has a vision processing vi that outputs a post-processed image and I was wondering if I could use that instead of the camera feed on the Dashboard.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2011, 19:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Dashboard Camera Image

While it is possible to do what you ask, it will be far more CPU intensive and/or network intensive that other approaches. Here is why.

The WPILib block for sending images to the dashboard sends the original untouched and still encoded and compressed image to the dashboard. This is a simple copy of the buffer and sending over TCP.

By comparison, you are discussing taking that image, decoding the JPEG into a big image, then processing it a bit, and then either transmitting a large image, or compressing the image into a JPEG all over again.

The last few years, the default code has instead send the original image to the dashboard and independently sent data to the dashboard about the target. This target info is then used to do the annotations on the image on the dashboard. A similar approach would be to redo the image processing on the laptop to produce the same modified image that the cRIO computed.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2011, 19:43
v2oxviesta's Avatar
v2oxviesta v2oxviesta is offline
Brendan
FRC #3926 (MPArors)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2012
Location: Woodbury, Minnesota
Posts: 17
v2oxviesta is an unknown quantity at this point
Re: Dashboard Camera Image

Thanks
Reply With Quote
Reply


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 10:10.

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