Go to Post I mean I am a pocket protector kind of guy. - techhelpbb [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 05-03-2016, 23:25
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 240
BitTwiddler is on a distinguished road
Re: Using a Gyro without Encoders

Quote:
Originally Posted by apm4242 View Post

1. Resetting the gyro - Does this require some time or is it instantaneous? Where is the best place to reset this?
2. Reading gyro data - Does gyro data need to be read in each separate while loop?
3. Using wait.vi and loop iterations to keep time - I set the loop to iterate every 10 ms and to terminate when it reaches 500 iterations. I assume this will be 5 seconds. Is there any reason this would not be 5 seconds? Is there a better way to do this?

Any help is appreciated!
Since no one has yet directly answered your questions I'm going to go out on a limb here and attempt to answer.
1. You could place the reset in the first frame of the sequence but I think it's OK where you have it. Not sure though if the reset is instantaneous but from what I've seen it only takes some fraction of a second.
2. Yes you need to read the gyro in each while loop. When a while loop is active the while loops in the other frames in the sequence structure are not executing.
3. This has been a common technique shown in examples from previous years. I think your assumption of a 5 second loop time is correct. I see no reason to change it.

Sorry if we hijacked your thread. Hope this helps.

Last edited by BitTwiddler : 05-03-2016 at 23:28.
Reply With Quote
 


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

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