Go to Post In theory, there is no difference between theory and practice. In practice, however... - Alan Anderson [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 28-01-2012, 10:07
nonomus nonomus is offline
Registered User
FRC #0201
 
Join Date: Jan 2012
Location: Michigan
Posts: 1
nonomus is an unknown quantity at this point
Question Rectangular Target Processing Optimization

Hello everyone.
Our team is currently trying to use Rectangular Target Processing in our Vision Processing loop. Although we were able to successfully integrate it into our code, it seems like the vision processing is slowing down all of the other code significantly. For example, when the vision processing is enabled, our motor code does not run fast enough, causing the motor to "skip" when it is supposed to be running continuously.
Can you recommend any ways with which we could optimize the vision vi? We are really using the color tracking in combination with reflective tape in order to get our target. We are also relying on the distance calculation as well as the target array that is created when a target is detected.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2012, 21:26
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,752
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: Rectangular Target Processing Optimization

You can control the camera frame rate and the camera resolution. Additionally, closing the robot's movement using only a camera is somewhat tricky due to lag and possible camera shake. It may be that you are using the camera too much or asking it to do too much.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2012, 21:39
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Rectangular Target Processing Optimization

Many teams are trying to do the vision processing in a separate computer and sending the results to the cRIO (just the numbers, not the image). It's a complicated solution that takes a lot of knowledge, and I'm not sure about its legality. In fact I have a few questions about it as well - is it legal to do the vision processing in the Dashboard (I mean, it already has the camera image, and the computer doesn't do much else) and then sending it to the cRIO through UDP as discussed here?

(I'll go cross-post it in that thread too)
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 22:29.

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