View Single Post
  #8   Spotlight this post!  
Unread 21-02-2016, 20:40
schleprock's Avatar
schleprock schleprock is offline
Code Jockey
FRC #4905 (AndromedaOne)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: massachusetts
Posts: 21
schleprock is an unknown quantity at this point
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?
oops, it should be

value >= 360 or value < 0
Reply With Quote