View Single Post
  #4   Spotlight this post!  
Unread 23-01-2016, 13:30
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: Magnetic Field Impact on the NavX

Quote:
Originally Posted by Tparbotmail View Post
Thank you for replying

I see getFusedHeading() which supports the 9-axis. I did not see any methods that discussed the 6-axis. Can you please elaborate on how the 6-axis works?

Thanks
Sure, the 6-axis headings fuse the 3-axis gyroscope and 3-axis accelerometer data (a total of 6 input sensing axes) into a single set of data which forms a 3-axis coordinate system, and provides measures of Yaw, Pitch and Roll.

So this data (sometimes referred to as 6-axis data, my apologies for introducing a confusing term) can be retrieved via:

getYaw()
getPitch()
getRoll()

There is more discussion of the 3-axis coordinate system and Yaw, Pitch and Roll on the navX-MXP terminology page.
Reply With Quote