|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|