Go to Post A robot is replaced every season by the next robot, but a friend, team member, mentor, and memories will never be replaced. - Jverdon [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 03-19-2016, 12:35 PM
zeldathegood zeldathegood is offline
Registered User
FRC #4277
 
Join Date: Jan 2013
Location: United States
Posts: 26
zeldathegood is an unknown quantity at this point
USB camera using java that doesn't use too much bandwidth

We have followed the Follow the steps shown here: http://wpilib.screenstepslive.com/s/...ifecam-hd-3000

We followed the java in the SimpleVision example.

We have a working USB camera for our driver to see only (no vision tracking)
but when we are at competition the image freezes.

How can we dial down the bandwidth consumption for a simple USB camera that works in competition?


Assume we know nothing. We are a low budget team that builds in the teachers lounge.

Thanks in advance for your help.

Reply With Quote
  #2   Spotlight this post!  
Unread 03-28-2016, 12:08 PM
soundfx's Avatar
soundfx soundfx is offline
Registered User
AKA: Aaron J
FRC #3238 (Cyborg Ferrets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Anacortes, WA
Posts: 14
soundfx is an unknown quantity at this point
Re: USB camera using java that doesn't use too much bandwidth

In the code, set the size and quality to lower values. Our team uses 320x240 size and it provides clear enough vision for drivers and does not use too much bandwidth. The quality doesn't affect anything nearly as much, but lowering that might help. You can change these either in the driver station or using the setQuality and setSize methods.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-30-2016, 12:14 PM
redstonedash redstonedash is offline
Registered User
FRC #3218
 
Join Date: Mar 2015
Location: merica
Posts: 6
redstonedash is an unknown quantity at this point
Re: USB camera using java that doesn't use too much bandwidth

are you sure it is the bandwidth? your code might not update the image as much as you would like. do you know how often the cameras code is running?
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 07:24 AM.

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