Go to Post I'm 5'5", and I'm our team's drive coach. Our drivers are nearly always taller than me. In my case, it's not the driver's station that needs to be made of lexan...it's our drivers. - StephLee [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 03-04-2015, 16:38
MasterSon MasterSon is offline
Registered User
no team
 
Join Date: Feb 2015
Location: ontario,canada
Posts: 8
MasterSon is an unknown quantity at this point
IP Camera use in robotics

I have a general question for members who are using a axis camera. Are you getting delay free video? meaning if you move your hands infront of the camera, does it appear on your computer screen instantly?
  #2   Spotlight this post!  
Unread 03-04-2015, 16:42
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,078
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: IP Camera use in robotics

There has been a noticeable delay in all of the camera feeds I've seen.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #3   Spotlight this post!  
Unread 03-04-2015, 17:01
cjster's Avatar
cjster cjster is offline
Team 1322 electrical
AKA: CJ Mervyn
FRC #1322 (G.R.A.Y.T. Leviathons)
 
Join Date: Mar 2015
Rookie Year: 2013
Location: Flint, MI
Posts: 34
cjster will become famous soon enoughcjster will become famous soon enough
Re: IP Camera use in robotics

Last year, we had an enormous delay, about 4 seconds.
__________________
Team 1322, the G.R.A.Y.T. Leviathons

2015 FiM Kettering Spirit Award winners
2015 FiM Escanaba District Chairman's Award winners
2015 Michigan State Championship
2015 World Championship
2016 FiM Kettering Week 1 Chairman's Award winners
2016 Michigan State Championship

http://www.team1322.org

FEAR OUR BUBBLES!
  #4   Spotlight this post!  
Unread 03-04-2015, 17:05
dawonn's Avatar
dawonn dawonn is offline
Mentor
AKA: Dereck
FRC #2586 (Calumet Copperbots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Auburn Hills, Mi
Posts: 53
dawonn is an unknown quantity at this point
Re: IP Camera use in robotics

We have been connecting directly to the camera in a web browser and using the mjpg stream for the lowest latency for us.
  #5   Spotlight this post!  
Unread 03-04-2015, 20:08
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: IP Camera use in robotics

I generally see a delay of at least 60ms, but it can be more. Four seconds is basically broken.

The delay can come from a number of places, so it is hard to give a single solution to the problem, but it can be fixed.

Things that can affect camera performance/latency:
Lighting -- low light will often cause the camera to extend the exposure, possibly changing camera frame rate from what you asked it to be.

Fast producer/slow consumer -- the camera pumps N frames into the stream and the client consumes M. When N is bigger than M, the latency grows very quickly. When equal, small delays can accumulate latency.

Network buffering -- in any driver, switch, or router. This would show up in the DS log because the traffic follows the same path and is treated the same.

I generally measure this by making a counter display that updates quickly and displays a ms counter. In LV, this is an indicator that displays i inside of a loop that sleeps for 1ms. You then point the camera at the display and display that next to the original. So adjacent to each other on the screen is the true counter display and a camera display of the counter. They are both flickering away. Then take a screenshot and you'll see that the camera display lags the counter by some amount. You can do this a few times if you want to average for a more precise lag measurement.

It has been a few years since I've made accurate measurements, and for this year, I just did the snap test. Snap your fingers or make some other hand transition such as finger-counting at a fixed rate. Modify it until you can estimate the lag.

Greg McKaskle
  #6   Spotlight this post!  
Unread 03-04-2015, 23:23
MasterSon MasterSon is offline
Registered User
no team
 
Join Date: Feb 2015
Location: ontario,canada
Posts: 8
MasterSon is an unknown quantity at this point
Re: IP Camera use in robotics

I have tested some different ip camera brands and it was suggested to me that axis may have the lowest delay rates. For those who are noticing a delay, are you using an axis ip camera?

Can you tell me the model and the resolution of the camera?

What software do you use to view the camera?
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 16:36.

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