Go to Post Football has been a school institution for over 100 years--we can't expect FIRST to show the same potential in a 10th of that. - Petey [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-03-2010, 21:26
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Decoupling the image acquisition from the Image Processing

Thanks Greg. I really enjoyed reading that. It answered an unasked question I've had for the past month or so ... regarding the way the data from the camera was moved around.

To the OP ... if you want to get rid of the circles and lines on the dashboard, then poke around in the Dashboard.VI and remove some of the stuff in there.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
  #2   Spotlight this post!  
Unread 08-03-2010, 22:28
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Decoupling the image acquisition from the Image Processing

Quote:
Originally Posted by Ziaholic View Post
Thanks Greg. I really enjoyed reading that. It answered an unasked question I've had for the past month or so ... regarding the way the data from the camera was moved around.

To the OP ... if you want to get rid of the circles and lines on the dashboard, then poke around in the Dashboard.VI and remove some of the stuff in there.
Thanks - we've already done that. What I don't get are some of the teams saying they're getting 30 frames per second on their driverstation. We're getting 5 with processing turned on (320x240), 10 with processing at 160x120, and 15-18 with process off at 160x120.

I don't know how they're managing that extra frame rate and it will be (in my eyes) a huge advantage to be able to aim with the camera in real-time for long shots.
  #3   Spotlight this post!  
Unread 09-03-2010, 09:26
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Decoupling the image acquisition from the Image Processing

I've read the 30 fps threads and to be honest, I'm a skeptic. I'll have to see it to believe it. In my opinion, 4-5 fps is perfectly adequate to be able to manually (or autonomously) line up a kick-shot.

I'm of the school of thought that more/faster is not necessarily always equal to better. ... and sometimes it'll come back and bite ya'.

It's one thing to "tweak" the FPS to the max when you're alone on a tether or a private wireless LAN, but it can be an entirely different animal when you're hooked up to an FMS with 5 other 'bots.

I admire their drive to push things to the limit, but IMO, it's too risky to use it during a competition when 4-5 fps can still get the job done.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
  #4   Spotlight this post!  
Unread 09-03-2010, 17:52
Wei Wei is offline
Registered User
FRC #1885
 
Join Date: Mar 2010
Location: Pentagon City
Posts: 2
Wei is an unknown quantity at this point
Re: Decoupling the image acquisition from the Image Processing

30 FPS at the highest image size is possible. This is what was we had to do to get those results. However, we did not run at 30 FPS (at competition) because it wasn't needed.

Changes to the C++ platform:
1 - Alter the Template Robot code
1.1 -(BIGGIE) remove continuously processing functions
1.2 - all code run in periodicFunctions (TeleOp and Auto. mode)
1.3 (BIGGIE) Use semaphores and Timer Task to control periodic function execution instead of reading the time/clock continuously to determine when the periodic functions should execute.

2 - Optimize the image processing functions to not process false positives.

3 - Configure Camera and Image processing functions/task to a lower priority

What the changes accomplish:
1.1 and 1.3 doubles the processing power available for Image processing (about 50% increase).
1.1, 1.3 combine with 3 decrease task switching cost (about 1 to 5 % processing gain, a few more percentage gains is possible if you area willing to play with the system clock).
2 - Depending on how much optimizing is done, Image processing cost can be decrease by at least 50%.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image processing and performance ellisk C/C++ 6 20-01-2009 16:48
Getting the Image from the Camera Using Windriver (C++) computerish C/C++ 0 17-01-2009 16:03
Image Processing on mouth ROI tommy_chai Programming 0 20-11-2007 08:32
thoughts about image processing 3dude_2231 Technical Discussion 5 12-11-2007 13:26
Critique my image processing program... Salik Syed Programming 13 29-06-2006 16:57


All times are GMT -5. The time now is 13:04.

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