View Single Post
  #2   Spotlight this post!  
Unread 23-01-2017, 15:17
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 298
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: Class ADXRS450_Gyro output angles?

Quote:
Originally Posted by BitTwiddler View Post
We're using the AD XRS450 gyro module from the KOP this year. We need to know how the angles are output (we're using LabView) from this WPI library function. According to the C++ documentation the get_angle method returns an angle that continues from 360 to 361 and so forth. If so then our drive straight routine will need some pre-processing of the angle data before we use it. I don't want to invent something that might not be needed.

Can anyone verify that the ADXRD450 GetAngle() method does indeed output angles in the 0-360 degree and beyond range?
We just tested with this sensor recently. We found that it did go past 360 (and also -360 if you turn it CCW).

(Disclaimer: We use Java, but that shouldn't matter)
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote