Go to Post Obama's got to stop saying all of these FIRST like statements and should just give us money and show up at Championship. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 14-01-2012, 09:01
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,750
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: Sending Vision Processing Data to Dashboard (C++)

What size image were you processing, and how many images per second? It is possible to bog down any computer with image processing. The cRIO is pretty capable, but clearly has limits. If you use smaller images and limit the frames per second, you can process the images in a parallel thread and not interfere with teleop. If you put it into teleop, you will definitely slow teleop, as simply decoding the JPEG may take 20ms.

Processing the images on the laptop is also pretty straightforward. NIVision has the same entry points in a Windows DLL as on the .out library on the cRIO, in fact a superset of entry points.

As for viewing the image as you are processing it. This will also be easier on the PC. I don't know the details, but I'm pretty sure that NIVision has functions for drawing into a window. Your code can open the window and share the handle.

Greg McKaskle
Reply With Quote
 


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 17:49.

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