Thread: Calibrate Gyro
View Single Post
  #4   Spotlight this post!  
Unread 26-01-2015, 07:43
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Calibrate Gyro

If the robot is disabled, like it will be before the match starts, it runs the code in the Disabled VI. Which is mostly empty.

You can of course read the joystick there and close and then reopen the gyro and store its refnum in the registry. You can also measure the drift and show it on the dashboard so that the drive team will know how much it is drifting while disabled and presumably sitting still.

Greg McKaskle
Reply With Quote