Go to Post IF teams did NOT READ THE FIRST MANUAL AND Q&A SITE, it is not FIRST's fault, it is the TEAM'S fault - sburro [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 19-02-2011, 22:08
amitk47 amitk47 is offline
Registered User
FRC #1943
 
Join Date: Jan 2011
Location: Israel
Posts: 3
amitk47 is an unknown quantity at this point
Using the camera to track the minibot pole

Hi, we have been trying to use the camera to track the minibot pole in order to place the robot in the right place to release the minibot. The problem is that the code is realy slow. Any suggestions on how to improve the code?



The project: http://www.megaupload.com/?d=WW8HBE4Y
The script VI is attached.


Thanks.
Attached Files
File Type: vi NewPoleScript.vi (25.5 KB, 13 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2011, 08:20
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: Using the camera to track the minibot pole

It looks like you use some pretty expensive image processing functions. I suspect they are quite accurate, but too slow to drive a robot using them.

Once you have a convolved Value plane, you can likely look through for the big transitions. I suspect the caliper and line detection are the expensive parts, especially on the cRIO.

Greg McKaskle
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 20:28.

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