View Single Post
  #16   Spotlight this post!  
Unread 02-11-2016, 16:10
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,569
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Gyro vs. Encoders for Driving Straight

Quote:
Originally Posted by inorbert View Post
Did anyone use the KoP gyro from Analog Devices for driving straight successfully this season? What did your setup look like? Could you send a link to the library you used, or just send your code?

Sent from my LG-D851 using Tapatalk
We did, utilizing the LabView example supplied with LabVIEW this year. It was a fantastic gyro. Writing code for a Gyro is remarkably easy - it's really just an accumulator that sums the output of the gyro.

Here's some basic code for an arduino that can easily be written in C++ or LabVIEW:

http://playground.arduino.cc/Main/Gyro
Reply With Quote