View Single Post
  #1   Spotlight this post!  
Unread 31-03-2010, 00:02
Albo Albo is offline
Registered User
AKA: Al Vigland
FRC #2408 (Shrapnel Sergeants)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2007
Location: St. Louis
Posts: 7
Albo is an unknown quantity at this point
1s Delay Affecting Driver Controls (FTC)

We are experiencing a long delay (1 sec) in responding to our driver station controls. We have been reading a lot of posts about managing parallel loops to keep periodic actions (e.g. shooting) from interferring with high response actions like driving, and we have tried to implement that with a separate, parallel iteration linked using a global variable.

Even so, something is interferring with our responsiveness. If feels like all control actions are delayed by 1 sec. If we command rapid movements, they all happen in rapid succession ... but don't start until about 1 second after we command the operations.

Would having too much going on in our main driving iteration cause this?

We also have a lot of constants and motor / servo references inside our iteration. Would it help to pull all of those static references outside the loop?

I have included a .zip with our main loop, with the motor configurator files.

We had a lot better responsiveness with our FRC program and are wondering what we are missing with this FTC program.

Thanks!
Attached Files
File Type: zip Team 2408 LabView Code.zip (61.1 KB, 21 views)
Reply With Quote