View Single Post
  #2   Spotlight this post!  
Unread 13-04-2015, 23:01
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Programming SPI Gyro

We considered doing this immediately following bag-and-tag when our next-to-last analog gyro died. We had hoped to extend the AnalogChannel class and get the integration done for us by using the Gyro(AnalogChannel) constructor. We learned that the integration was done in hardware, so we would have to do it manually. A gyroscope gives you a rotation rate-of-change, so the computer must integrate that rate to determine the actual orientation. At that point, we switched to encoders instead, and trusted that the wheels didn't slip. For more info, see this thread on usfirst. We may tackle this as an off-season project, or get one of those integrated solutions (e.g. the AndyMark NavX MXP board) that are out of stock for next year.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 13-04-2015 at 23:05.
Reply With Quote