Go to Post by the way when someone calles me a dork or geek, i tell them to look up dork and geek in the dictionary, and that i would rather be called nerd :) - Mike Schroeder [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 01-04-2010, 08:56
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
Re: 1s Delay Affecting Driver Controls (FTC)

Hmmm. I thought the timer would add more delay (i.e. wait) ... but now that you mention releasing the cpu, I think you may be on to something. We will give that a try. Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 01-04-2010, 09:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: 1s Delay Affecting Driver Controls (FTC)

The timer will run in parallel with the other tasks inside the While loop, so you don't lose the full 50ms.
At most you'll lose 50ms.

If that helps then you can experiment with shortening the time to 20ms or so. It really just needs to release long enough to allow the other loop to get a chance to run, so the time just has to be a little greater than how long the other code within the loop takes to execute.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-04-2010 at 10:29.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver Station Delay alex42 FRC Control System 2 09-02-2010 20:14
[FTC]: Toggle controls nate15810 FIRST Tech Challenge 17 17-02-2009 11:13
Bad Weather Affecting Teams Tonya Scott 476 General Forum 77 15-02-2007 14:02
pic: 383`s controls and driver Manoel Robot Showcase 13 03-03-2005 00:57
Ramp Affecting Robot Movement Yan Wang Rules/Strategy 6 26-02-2003 08:27


All times are GMT -5. The time now is 22:01.

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