We are trying to use gyros for our autonomous, but the video reference we are using is not in a competition program. This is the link and picture of the code.
We want to use the code but are unsure where things should go and what to do with the while loop. Let us know what you think. Thanks!