Go to Post In real life (IE when you go to apply your engineering skills to tasks in industry) there will be constraints on all sorts of things - many of which may or may not be "fair" or even "intelligent". You must learn to either work around them or use them to your advantage - preferably a bit of both. - OScubed [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 24-09-2013, 09:32
TenaciousDrones's Avatar
TenaciousDrones TenaciousDrones is offline
FRC Team 4780
FRC #4780 (The Tenacious Drones)
 
Join Date: Sep 2013
Rookie Year: 2012
Location: Parma, Ohio
Posts: 57
TenaciousDrones is an unknown quantity at this point
Camera Lag

Is there anyway to increase the feedback rate on the axis cameras. My team ended up not really using our camera last year because there was such a lag that in order to do anything we would have to move then wait for the camera to catch up.
  #2   Spotlight this post!  
Unread 24-09-2013, 09:42
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Camera Lag

Turn down its quality settings.
  #3   Spotlight this post!  
Unread 24-09-2013, 10:17
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Camera Lag

If you're seeing that much lag, you're using too much bandwidth and the FMS QOS is throttling you. I reccomend reducing frame size, reduce frame rate, or reduce quality. If your quality/compression is set below 30, it's set too low.

Can you post what settings you were using so we have a baseline comparison? Also, one thing which would be useful is if you posted how much bandwidth you see at the drivers station when it is tethered directly to the robot.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.

Last edited by adciv : 24-09-2013 at 10:23.
  #4   Spotlight this post!  
Unread 24-09-2013, 20:05
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,751
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: Camera Lag

The first thing I'd do is to set it back up and try to reproduce it. Then, if you are using the LV based dashboard, look at the LED and numbers near the video settings to see how much bandwidth you are using and what the settings are. It is also possible to use the Windows task manager to see the usage.

The LED will be green if the video bandwidth is low enough, and there is a yellow and a red. The ring selector lets you change framerate, size, and compression. Think about it and modify the settings to get the network usage down and get the LED to be green.

The actual cause of the lag is that somewhere between the camera and the laptop display, the images are sitting in a buffer waiting for the previous one(s) to get out of the way. In case it isn't simply a network bandwidth issue, you will want to identify whether you think each link between the camera and display are overloaded and causing buffering. For example, you may want to start with the DS laptop itself. View the CPU usage and see if the laptop is not able to keep up. If the CPU usage is 100%, or very high, you may want to experiment to see if the lag goes down when the usage goes down. If the CPU usage is fine, you can then look upstream to the router, then to the camera itself, and there could be other devices in between in some cases.

Greg McKaskle
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


All times are GMT -5. The time now is 12:54.

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