Go to Post Yes, I'll admit it...I had a crush on Ken Leung when we all went out together for the college night in 2002. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 01-04-2012, 14:20
Athaker's Avatar
Athaker Athaker is offline
Registered User
AKA: Anuj Thaker
FRC #0201 (FEDS 201)
Team Role: Mechanical
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Rochester Hills, MI
Posts: 6
Athaker is an unknown quantity at this point
Latency on Joysticks

Hello Everyone,

I was wondering if there was any way to get rid of or reduce the latency on the joysticks for the turret and drive. The turret is connected to a Banebot and we have 2 CIM motors on drive.

Thanks,
Anuj
Reply With Quote
  #2   Spotlight this post!  
Unread 01-04-2012, 14:33
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Latency on Joysticks

What type and how much latency are you seeing? Typically, it should be nearly imperceptible. However, errors in your code may add different types of lag.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-04-2012, 14:35
daniel_dsouza daniel_dsouza is offline
does what needs to be done.
FRC #2449 (Out of Orbit Robotics)
Team Role: Alumni
 
Join Date: May 2011
Rookie Year: 2011
Location: Chandler, AZ
Posts: 231
daniel_dsouza has a spectacular aura aboutdaniel_dsouza has a spectacular aura about
Re: Latency on Joysticks

What really helped us during our competition is cleaning up/reducing the code in the loop where we processed our controls ("telop periodic" for us). Specifically, we told our code to only output information back to the driver station every 25 loops. This solved a problem where our cRIO processing speed spiked up to 100%, causing robot lag and disconnections on the field.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-04-2012, 19:29
Athaker's Avatar
Athaker Athaker is offline
Registered User
AKA: Anuj Thaker
FRC #0201 (FEDS 201)
Team Role: Mechanical
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Rochester Hills, MI
Posts: 6
Athaker is an unknown quantity at this point
Re: Latency on Joysticks

When we move the joystick, it takes long for the motor to respond and even though we push it just a little bit, it moves too far which takes us a longer time to aim. Also our vision processing is done on the computer instead of the CRIO.
We have also removed code from our teleop and put it inside of periodic tasks instead. something that helped was that less code in teleop means fewer time delays and less starvation of other loops in the code
Reply With Quote
  #5   Spotlight this post!  
Unread 01-04-2012, 19:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Latency on Joysticks


You might get more traffic if you moved this over to the

Chief Delphi > Technical > Programming > NI LabVIEW subforum.


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 21:20.

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