View Single Post
  #8   Spotlight this post!  
Unread 27-01-2016, 16:29
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
Re: Gyroscope Programming

To just turn 90 Deg, you just need to supply it to the PIDController where the encoder would normally go, as it is already a defined PID source. you would then use your drive motors as output. you would need to invert one motor, so that it turns, but that should be the extent if the mods. I'm not sure you need PID for this simple task though. It's likely easier to just stop after turning 90
__________________
"you can build a perfect machine out of imperfect parts" -Urza
Reply With Quote