Go to Post The world isn't made out of Nerf, you will get scrapes and bruses, but you will get back up and continue on. If you watch out you can avoid the sharp edges. - Joe Matt [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 15-03-2016, 15:33
ChetRanjan ChetRanjan is offline
Chet Ranjan
AKA: Chet Ranjan
FRC #5404 (North Penn Montco Robotics)
Team Role: Mentor
 
Join Date: Jun 2014
Rookie Year: 2014
Location: Lansdale, PA
Posts: 5
ChetRanjan will become famous soon enough
Camera Feed

Our robot works perfectly during teleOp and responds well to changes in the joystick.

But, when we enable the feed from the camera, the drive during teleOp becomes intermittent. It seems like the values from the joystick are buffered and then executed in bulk. That gives robot jerky movements. So, for now we have camera feed disabled.

How can we diagnose the issue and fix it?

Thanks,

Chet

The code for camera feed is as follows:

--------------------------------------------------------------------------
import edu.wpi.first.wpilibj.CameraServer;

public static CameraServer cam = CameraServer.getInstance();

Initialization.cam.setQuality(10);
Initialization.cam.setSize(100);
Initialization.cam.startAutomaticCapture();

The properties for USB Webcam viewer on the dashboard side is:
FPS = 10, Size = 640 X 480
--------------------------------------------------------------------------
 


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 09:37.

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