View Single Post
  #2   Spotlight this post!  
Unread 22-04-2016, 12:06
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: Getting pitch from navX sensor

Quote:
Originally Posted by samfruth View Post
We are trying to read the "pitch" value that is build into the YPRHfH vi in autonomous but have been unsuccessful so far. We are using it to find when the bot has driven over a defense or has gotten on the batter. We're able to read "yaw" just fine. We enable the sensor in begin as YPRH. Any insight?
Can you please clarify what "have been unsuccessful so far" means?

If just starting out using pitch, it's good to review the terminology. As discussed in the navX-MXP "Terminology" page, pitch is defined as rotation about the "X" axis.

Then, it's good to review the different axes to make sure it's clear which is the X axis and what it means to rotate around that axis. Take a look closely at the navX-MXP; there's indication of the X axis there. As rotation about this axis occurs, the pitch angle will change.

Depending upon how your navX-MXP/RoboRIO are mounted, the pitch angle could be measuring different things.
Reply With Quote