Go to Post I wonder how many games we could come up with that are not the one for FRC 2008. - AndrewN [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-02-2014, 13:29
idoshamir idoshamir is offline
Registered User
FRC #5038
 
Join Date: Jan 2014
Location: Israel
Posts: 18
idoshamir is an unknown quantity at this point
Vision Target Detections makes cRIO code slow

Hello,

We are a rookie team trying to implement the target detection of the goals.
We want to use it both on the auto part and the teleop part.

We took the code from the example and implemented it (pretty much copy-paste) to the vision VI.

We are happy with the results - but the cRIO is immediately getting to 100% cpu and the robot responds very bad on the teleop part.
We couldn't fix the problem ourselves so we made the image processing part on only when triggered - but we would like to know are we doing something wrong and can we do better?

We are using a 320x240 resolution and got to 20% compression (tested 10% and it didn't matter). FPS doesn't seem to matter much too. We also added a 100ms delay to the image processing loop - not much change.

Thanks for any advise!
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 09:44.

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