Selecting An Interface - Kauai Labs navX2-MXP User Manual

Robotics navigation sensor
Table of Contents

Advertisement

Guidance
Terminology
Important Note: navX-sensor Linear Acceleration values are in World Reference Frame.
Advanced
Advanced users may require knowledge of the following terminology.
Quaternions
A
quaternion
is a four-element vector that can be used to encode any rotation in a 3D coordinate system.
This single 4-element vector value can describe not only rotation about a reference frame's origin (Pitch,
Roll and Yaw) but also the rotation of that entire reference frame with respect to another.
Furthermore, when Pitch, Roll and Yaw measures to perform certain calculations, it is not possible to
clearly ascertain orientation when two axes are aligned with each other; this condition is referred to as
"Gimbal Lock". For robotics applications, Pitch, Roll and Yaw are sufficient, however for certain
aerospace applications, Quaternions may be required to handle all possible orientations.
navX-sensors use Quaternions internally, and also provide the 4 quaternion values for use by those who
might need them.
The navX2-MXP /navX-MXP sensors provide several methods for communicating with robotics control
applications:
MXP
I2C
MXP
SPI
USB 2.0
Streaming vs. Register-based Communication
The navX-MXP interfaces fall into two types: Streaming and Register-based.
Streaming: data is sent at regular intervals by the navX-sensor, and the host is notified when new data
arrives. To support the lower bandwidth of the TTL UART interface, streaming data can be transmitted in
two different formats: Processed Data and Raw data. Streaming is used over the TTL UART and USB
interfaces. More details on the communication detail are available in the
Register-based: communication is initiated by the host whenever new data is desired, and the host can
request any data required. Register-based communication is used over the I2C and SPI interfaces. More
details on the communication detail are available in the
Comparing the navX-sensor Communication Interfaces

Selecting an Interface

Register Protocol
Serial Protocol
Definition.
Definition.
67

Advertisement

Table of Contents
loading

Related Products for Kauai Labs navX2-MXP

Table of Contents