Thread: Compass sensor
View Single Post
  #15   Spotlight this post!  
Unread 14-01-2010, 11:52
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Compass sensor

Quote:
Originally Posted by AlexGrant View Post
Thanks a bunch for the info, how difficult do you think it would be to implement a system like this for a programmer with moderate experience?
Last year, we had a first time programmer in Labview accomplish programming the gyro very effectively. We used a gyro to auto-correct our steering, since the floor was slick last year. You could push the robot completely around, and it would correct itself back to the same orientation. I haven't look at the code on how to do this, and I don't have LabView installed right now, so I couldn't even begin to tell you where to begin. I do remember them setting the gyro angle to zero or something, and we never did use the temperature since it wasn't really needed in our application.

Probably your best application is to use the gyro along with the camera to orient your robot in the right direction for kicking or whatever you want your robot to do. The camera will give you an angle, then apply that to the gyro and the drive base to correct the orientation of your robot. You could just do this with the camera, but I think it would be more reliable to do it with both.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364