Go to Post Every year, everyone reads too much into the hints given by Dave. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 06-03-2012, 02:43
Wildcat Robotic Wildcat Robotic is offline
Registered User
FRC #3039
 
Join Date: Jan 2012
Location: Destrehan, LA
Posts: 15
Wildcat Robotic is an unknown quantity at this point
Axis Camera causing lag?

Hello, everyone. We're experiencing an issue that whenever the camera is successfully connected to the robot (either to the bridge or the cRIO), it seems to be causing lag, where the controls are jumpy and unpredictable. However, when we unplug the camera from its port, the robot immediately begins behaving as expected. Any suggestions? Thanks.

A few details that may make a difference:
-We are using the Axis Camera 206.
-We have an 8-slot cRIO.
-We have implemented the Rectangular Target Processing VI into our Vision Processing.
-The program works just fine when the camera is not plugged in.
-I was not able to change the FPS in time before leaving the shop, in case that has anything to do with it.
-I have already tried putting the camera in the lowest possible resolution.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-03-2012, 07:47
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: Axis Camera causing lag?

The camera or anything else CPU intensive can interfere with the drive code. If the Safety mechanisms are on, the interference causes the Diagnostic messages and setting the motors to zero. If it is disabled, the motors will keep their old value and overshoot where the driver intended to go.

Please check the camera settings and report back what they are. Also look at the Charts tab and notice the difference between vision on and off. It may also be worth thinking about when the vision code should run -- all the time, or when you need it.

Greg McKaskle
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 11:22.

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