Go to Post For a good time, call 1-800-GOFIRST - Wayne Doenges [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 12-01-2010, 12:10
CaptainMorton CaptainMorton is offline
Registered User
FRC #0888
 
Join Date: Jan 2010
Location: Glenelg
Posts: 8
CaptainMorton is an unknown quantity at this point
How to speed up the camera

Does anyone know how to speed up the camera display?
i.e. with an accelerometer?
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2010, 12:13
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,020
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: How to speed up the camera

Good one!

Usually a camera will work faster if you reduce the size of the image you want to see. So if there is an image pixel size setting, use a smaller size.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2010, 14:18
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: How to speed up the camera

Is the camera "speed" you are referring to the field/frame refresh rate? Or is it the ability to turn in it's mount?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2010, 23:56
buddyb's Avatar
buddyb buddyb is offline
Registered User
FRC #1885 (ILITE)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Haymarket, VA
Posts: 65
buddyb has a spectacular aura aboutbuddyb has a spectacular aura aboutbuddyb has a spectacular aura about
Re: How to speed up the camera

I agree with squirrel; lowering the size of the pictures (which I believe we did last year) is the best way to reduce camera lag. In addition, any image processing being done (ie scanning the picture for a pattern/etc.) should be kept to a minimum. Do some tests, like constructing a model target and seeing how detailed it is from 60' away. If it seems really detailed, then cut down the image size. You don't need a ton of detail for the target; a 2 or 3 pixel thick black oval will do. (Cutting down the image size reduces the amount of data that must travel, and the amount of data one must sift through if one is searching through the image for a target, and the amount of RAM used).

I haven't looked in to the Camera's documentation at all, but if it offers different functions for kinds of color scanning (for example, scanning for RGB values instead of HSV), try scanning for RGB; I have *heard* that RGB functions are slightly faster than HSV, but that was on a different platform (Pascal programming) and obviously a different compiler, so take this worth a grain of salt, if even that.
__________________
FRC - Team 1885 - Programmer.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2010, 00:02
DMetalKong's Avatar
DMetalKong DMetalKong is offline
Registered User
AKA: David K.
no team
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Bridgewater
Posts: 144
DMetalKong is a jewel in the roughDMetalKong is a jewel in the roughDMetalKong is a jewel in the rough
Send a message via AIM to DMetalKong
Re: How to speed up the camera

Quote:
Originally Posted by buddyb View Post
I haven't looked in to the Camera's documentation at all, but if it offers different functions for kinds of color scanning (for example, scanning for RGB values instead of HSV), try scanning for RGB; I have *heard* that RGB functions are slightly faster than HSV, but that was on a different platform (Pascal programming) and obviously a different compiler, so take this worth a grain of salt, if even that.
Even better is black and white, since the targets are not colored this year. Less channels = less data transfer.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed of the camera nickmagus Programming 86 20-02-2009 21:40
how to limit speed on the motors. haxor5354 Programming 2 07-02-2009 07:51


All times are GMT -5. The time now is 22:26.

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