View Single Post
  #1   Spotlight this post!  
Unread 19-02-2016, 18:44
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 341
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: navx-mxp AHRS.getAngle() method

Quote:
Originally Posted by schleprock View Post
according to the documentation in the code for the AHRS.getAngle() method: the return value should be "continuous", so if the robot transitions in the positive direction past 359.9999 degrees, it should return 360 and so on. but according to our experiments, this is not true. the getAngle() method never returns any value >= 360 or <= -360. is there some parameter we need to set to get this behavior?
Let me take a look into it, sounds like a bug. Are you using Java?
Reply With Quote