Go to Post "Why use a CNC when you can get it done with wood, duct tape, and zipties!" - gcgeobuff [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2010, 20:04
frenchie4111 frenchie4111 is offline
Registered User
None #1111
 
Join Date: Jan 2010
Location: Southriver
Posts: 23
frenchie4111 is an unknown quantity at this point
Camera For Driving?

Has anyone else tried to implement the camera for just driving not implementing? We have our camera working and it seems to have a high framerate (about 4 or 5 fps) but the latency is a very bad latency (Like 2 - 5 seconds). Has anyone foudn a way to fix latency on the camera?
__________________
[url="http://mylifeisnerdy.co.cc"]My Life Is NerdyURL]
  #2   Spotlight this post!  
Unread 27-01-2010, 21:04
sloteera's Avatar
sloteera sloteera is offline
Registered User
AKA: Rafa
FRC #1860 (Cephatron)
Team Role: Coach
 
Join Date: Mar 2007
Rookie Year: 2004
Location: Brazil
Posts: 190
sloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud of
Re: Camera For Driving?

Yes!

We´re using the camera with live stream!!!

Could you tell which settings are you using??
We have less than 1s of lag!!

PS: are you using the camera by the wireless router or crossover cable?
  #3   Spotlight this post!  
Unread 27-01-2010, 23:35
ideasrule's Avatar
ideasrule ideasrule is offline
Registered User
FRC #0610 (Coyotes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Toronto
Posts: 108
ideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the rough
Re: Camera For Driving?

Try this:

http://www.chiefdelphi.com/forums/sh...t=81058&page=1
  #4   Spotlight this post!  
Unread 28-01-2010, 05:43
tdressel tdressel is offline
Registered User
FRC #1111
 
Join Date: Feb 2008
Location: Edgewater
Posts: 50
tdressel is an unknown quantity at this point
Re: Camera For Driving?

We are trying to do this as well - video streaming. Currently, we are having problems with lag. I'll be happy to get all the settings you want off the camera but the following is how it's setup to date:

-factory rest the camera (press button for 6 seconds while placing the DC power plug in)
-add a 2nd account of FRC/FRC
-using 'default code' - interact with the camera (in C++)
-it displays to the classmate

The students had some lagging of 5-10 seconds. I think it's down to 2 or 3 seconds but in a game, that's pretty bad.

All other settings are likely to be the 'factory default' settings.

If you can point out any other settings in the camera you modified - that would be great. Also, if you did anything specific on the programming side, that woudl be great to know as well.
__________________
Ted Dressel, Mentor, Team 1111
  #5   Spotlight this post!  
Unread 28-01-2010, 09:08
sloteera's Avatar
sloteera sloteera is offline
Registered User
AKA: Rafa
FRC #1860 (Cephatron)
Team Role: Coach
 
Join Date: Mar 2007
Rookie Year: 2004
Location: Brazil
Posts: 190
sloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud ofsloteera has much to be proud of
Re: Camera For Driving?

Quote:
Originally Posted by tdressel View Post
We are trying to do this as well - video streaming. Currently, we are having problems with lag. I'll be happy to get all the settings you want off the camera but the following is how it's setup to date:

-factory rest the camera (press button for 6 seconds while placing the DC power plug in)
-add a 2nd account of FRC/FRC
-using 'default code' - interact with the camera (in C++)
-it displays to the classmate

The students had some lagging of 5-10 seconds. I think it's down to 2 or 3 seconds but in a game, that's pretty bad.

All other settings are likely to be the 'factory default' settings.

If you can point out any other settings in the camera you modified - that would be great. Also, if you did anything specific on the programming side, that woudl be great to know as well.
I can't talk detail about this now because i'm in the job.
But for your information, we're programming at LV, and the camera's settings that we change was: frame rate, time exposure, resolution and brightness. I can't remember the values by now, but at the night (around six hours) I'll be in the college and we can talk better about this.

PS: check your wireless network too. Maybe your band is limiting your comunication.
  #6   Spotlight this post!  
Unread 28-01-2010, 09:26
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Camera For Driving?

For the C++ people out there, TheDominis and I are developing a custom PCVideoServer class that uses a different network protocol and splits up the image for faster display and update. Initial tests show about 20 frames per second. Check it out here:

http://www.chiefdelphi.com/forums/sh...ad.php?t=81158

The downside is, of course, that you need a custom dashboard. TheDominis has provided a test dashboard in C#, and I'm currently working on dasboard software in C++ that will support this type of video feed. It will also have full support for everything else that the provided dashboard has.

We're going to check Q & A for the legality of using video code other than what's been provided during competitions.
__________________

Last edited by slavik262 : 28-01-2010 at 09:30.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java/Netbeans Camera Code for Classmate PC and Axis Camera joshholat Programming 1 23-01-2010 14:59
Using kevin's code for driving and camera tracking razzoc Programming 3 18-02-2007 08:50
camera code and driving seanl Programming 9 16-02-2007 16:21
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 10-02-2007 16:34
Driving in Camera Code wingnut1705 Programming 2 10-02-2007 11:17


All times are GMT -5. The time now is 21:31.

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