Go to Post (puts on his asbestos underwear, because these threads always get heated) - Billfred [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2017, 17:14
mananb mananb is offline
Registered User
FRC #0224
 
Join Date: Oct 2016
Location: Piscataway High School
Posts: 3
mananb is an unknown quantity at this point
USB Camera FPS low

My team is having an issue with the FPS on Microsoft Lifecam 3000. When we first start the robot, the fps is at 30. However, after running the code a few times, the fps drops down to around 7. We have tried all the standard stuff: rebooting, checking the code for objects that may not have been garbage collected, etc. but haven't been able to find a solution. We also don't know whether it is problem in the roboRIO, the RAM, the camera, or the network. Does anybody know a possible solution?

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2017, 17:54
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,386
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: USB Camera FPS low

So many questions need to be answered before we can point you in the right direction:

What language are you programming your robot in?
Are you processing images, or just displaying them?
If processing, how and where?
At what resolution are you acquiring images?
Do you have compression set, and if so, to what level?
Are you using bandwidth limiting on the radio?
Are you even using the radio?

There are more, but this is a start.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2017, 14:08
mananb mananb is offline
Registered User
FRC #0224
 
Join Date: Oct 2016
Location: Piscataway High School
Posts: 3
mananb is an unknown quantity at this point
Re: USB Camera FPS low

What language are you programming your robot?
We are programming in java

Are you processing images, or just displaying them?
If processing, how and where?
We are processing the images using GRIP. This is most likely the problem.

At what resolution are you acquiring images?
We are using 320 by 240

Do you have compression set, and if so, to what level?
We don't have a compression set.

Are you using bandwidth limiting on the radio?
We are using the default settings, don't know if this has a bandwidth limit.

Are you even using the radio?
Yes.

We are programming in java.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2017, 14:38
RoboChair's Avatar
RoboChair RoboChair is offline
He who fixes with hammers #tsimfd
AKA: Devin Castellucci
FRC #1678 (Citrus Circuits and 5458 Digital Minds)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Davis, CA
Posts: 708
RoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond reputeRoboChair has a reputation beyond repute
Re: USB Camera FPS low

That only equates to a frame "latency" of 143ms, if you are doing vision processing ask yourself if you really need more than that. Less frames means less that you have to process or transmit.
__________________

12 Years and counting! Over a third of my life has been spent with FRC.
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 15:34.

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