View Single Post
  #7   Spotlight this post!  
Unread 29-02-2016, 09:26
apm4242 apm4242 is offline
Registered User
FRC #4242
 
Join Date: Jan 2013
Location: United States
Posts: 96
apm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant futureapm4242 has a brilliant future
Re: Gyro for driving straight

Hello,

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?

The idea is to drive for a time, turn 60 degrees to the right, drive some more, and shoot. I wanted to use a flat sequence structure (film strip) with a while loop in the frame that does the 60 degree turn. Would this work?

Thanks!

PS: We don't have encoders.
Reply With Quote