Go to Post ...when you hear a kid say "oink oink" and you say in your head "BOOM!" - delsaner [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
  #8   Spotlight this post!  
Unread 01-03-2016, 20:48
apm4242 apm4242 is offline
Registered User
FRC #4242
 
Join Date: Jan 2013
Location: United States
Posts: 75
apm4242 will become famous soon enoughapm4242 will become famous soon enough
Re: Gyro for driving straight

Quote:
If I simply wanted to turn right 60 degrees in autonomous, could I put the arcade drive vi in a while loop and tell it to turn right until the Get Angle vi >= 60?
To follow up on this - yes, it does seem to work. I'm not sure if it is the absolute best way to do this but it does work. I am using a test bed right now, so I assume the angle will have to be tuned to a little less than the desired 60 degrees to account for robot momentum.
Attached Thumbnails
Click image for larger version

Name:	4242_Auto_Gyro_turn_2016.png
Views:	61
Size:	58.3 KB
ID:	20242  
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:46.

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