View Single Post
  #1   Spotlight this post!  
Unread 19-02-2012, 12:13
MAldridge's Avatar
MAldridge MAldridge is offline
Lead Programmer
AKA: Rube #1
FRC #0418 (LASA Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Austin
Posts: 117
MAldridge will become famous soon enoughMAldridge will become famous soon enough
Mecanum with Magnetometer

I am struggling with this one. My task is essentially simple, I need to use a compass to assist in making sure the robot goes where I tell it to. The compass is the tilt compensated I^2C model from sparkfun, wired through opto-isolators to account for the voltage difference.

Essentially, I need to convert this to a signal that I can feed into the 'Gyro' input on the holonomic drive VI. I have it set up to where I poll it in another loop and put the heading into a global variable, but now I need to figure out what to do with it.


Any and all help is appreciated.
__________________
'Why are you a programer?' --Team Captain
'Because the robot isn't complicated enough!' --Me
Reply With Quote