View Single Post
  #9   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: 83
apm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud ofapm4242 has much to be proud of
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:	65
Size:	58.3 KB
ID:	20242  
Reply With Quote