- AHRS - Class in com.kauailabs.navx.frc
-
The AHRS class provides an interface to AHRS capabilities
of the KauaiLabs navX Robotics Navigation Sensor via SPI, I2C and
Serial (TTL UART and USB) communications interfaces on the RoboRIO.
- AHRS(SPI.Port, byte) - Constructor for class com.kauailabs.navx.frc.AHRS
-
Constructs the AHRS class using SPI communication, overriding the
default update rate with a custom rate which may be from 4 to 200,
representing the number of updates per second sent by the sensor.
- AHRS(SPI.Port, int, byte) - Constructor for class com.kauailabs.navx.frc.AHRS
-
The AHRS class provides an interface to AHRS capabilities
of the KauaiLabs navX Robotics Navigation Sensor via SPI, I2C and
Serial (TTL UART and USB) communications interfaces on the RoboRIO.
- AHRS(I2C.Port, byte) - Constructor for class com.kauailabs.navx.frc.AHRS
-
Constructs the AHRS class using I2C communication, overriding the
default update rate with a custom rate which may be from 4 to 200,
representing the number of updates per second sent by the sensor.
- AHRS(SerialPort.Port, AHRS.SerialDataType, byte) - Constructor for class com.kauailabs.navx.frc.AHRS
-
Constructs the AHRS class using serial communication, overriding the
default update rate with a custom rate which may be from 4 to 200,
representing the number of updates per second sent by the sensor.
- AHRS(SPI.Port) - Constructor for class com.kauailabs.navx.frc.AHRS
-
Constructs the AHRS class using SPI communication and the default update rate.
- AHRS(I2C.Port) - Constructor for class com.kauailabs.navx.frc.AHRS
-
Constructs the AHRS class using I2C communication and the default update rate.
- AHRS(SerialPort.Port) - Constructor for class com.kauailabs.navx.frc.AHRS
-
Constructs the AHRS class using serial communication and the default update rate,
and returning processed (rather than raw) data.
- AHRS.BoardAxis - Enum in com.kauailabs.navx.frc
-
Identifies one of the three sensing axes on the navX sensor board.
- AHRS.BoardYawAxis - Class in com.kauailabs.navx.frc
-
Indicates which sensor board axis is used as the "yaw" (gravity) axis.
- AHRS.SerialDataType - Enum in com.kauailabs.navx.frc
-
For use with serial communications, the SerialDataType specifies the
type of data to be streamed from the sensor.
- getActualUpdateRate() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the navX-Model device's currently configured update
rate.
- getAltitude() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current altitude, based upon calibrated readings
from a barometric pressure sensor, and the currently-configured
sea-level barometric pressure [navX Aero only].
- getAngle() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the total accumulated yaw angle (Z Axis, in degrees)
reported by the sensor.
- getAngleAdjustment() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the currently configured adjustment angle.
- getBarometricPressure() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current barometric pressure, based upon calibrated readings
from the onboard pressure sensor.
- getBoardYawAxis() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns information regarding which sensor board axis (X,Y or Z) and
direction (up/down) is currently configured to report Yaw (Z) angle
values.
- getByteCount() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the count in bytes of data received from the
sensor.
- getCompassHeading() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current tilt-compensated compass heading
value (in degrees, from 0 to 360) reported by the sensor.
- getDisplacementX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the displacement (in meters) of the X axis since resetDisplacement()
was last invoked [Experimental].
- getDisplacementY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the displacement (in meters) of the Y axis since resetDisplacement()
was last invoked [Experimental].
- getDisplacementZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the displacement (in meters) of the Z axis since resetDisplacement()
was last invoked [Experimental].
- getFirmwareVersion() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the version number of the firmware currently executing
on the sensor.
- getFusedHeading() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the "fused" (9-axis) heading.
- getLastSensorTimestamp() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the sensor timestamp corresponding to the
last sample retrieved from the sensor.
- getPIDSourceType() - Method in class com.kauailabs.navx.frc.AHRS
-
- getPitch() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current pitch value (in degrees, from -180 to 180)
reported by the sensor.
- getPitch() - Method in class com.kauailabs.navx.frc.Quaternion
-
- getPressure() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current barometric pressure (in millibar) [navX Aero only].
- getQuaternionW() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the imaginary portion (W) of the Orientation Quaternion which
fully describes the current sensor orientation with respect to the
reference angle defined as the angle at which the yaw was last "zeroed".
- getQuaternionX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the real portion (X axis) of the Orientation Quaternion which
fully describes the current sensor orientation with respect to the
reference angle defined as the angle at which the yaw was last "zeroed".
- getQuaternionY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the real portion (X axis) of the Orientation Quaternion which
fully describes the current sensor orientation with respect to the
reference angle defined as the angle at which the yaw was last "zeroed".
- getQuaternionZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the real portion (X axis) of the Orientation Quaternion which
fully describes the current sensor orientation with respect to the
reference angle defined as the angle at which the yaw was last "zeroed".
- getRate() - Method in class com.kauailabs.navx.frc.AHRS
-
Return the rate of rotation of the yaw (Z-axis) gyro, in degrees per second.
- getRawAccelX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) X-axis acceleration rate (in G).
- getRawAccelY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) Y-axis acceleration rate (in G).
- getRawAccelZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) Z-axis acceleration rate (in G).
- getRawGyroX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) X-axis gyro rotation rate (in degrees/sec).
- getRawGyroY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) Y-axis gyro rotation rate (in degrees/sec).
- getRawGyroZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) Z-axis gyro rotation rate (in degrees/sec).
- getRawMagX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) X-axis magnetometer reading (in uTesla).
- getRawMagY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) Y-axis magnetometer reading (in uTesla).
- getRawMagZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current raw (unprocessed) Z-axis magnetometer reading (in uTesla).
- getRequestedUpdateRate() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the currently requested update rate.
- getRoll() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current roll value (in degrees, from -180 to 180)
reported by the sensor.
- getRoll() - Method in class com.kauailabs.navx.frc.Quaternion
-
- getSmartDashboardType() - Method in class com.kauailabs.navx.frc.AHRS
-
- getTable() - Method in class com.kauailabs.navx.frc.AHRS
-
- getTempC() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current temperature (in degrees centigrade) reported by
the sensor's gyro/accelerometer circuit.
- getUpdateCount() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the count of valid updates which have
been received from the sensor.
- getValue() - Method in enum com.kauailabs.navx.frc.AHRS.BoardAxis
-
- getValue() - Method in enum com.kauailabs.navx.frc.AHRS.SerialDataType
-
- getVelocityX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the velocity (in meters/sec) of the X axis [Experimental].
- getVelocityY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the velocity (in meters/sec) of the Y axis [Experimental].
- getVelocityZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the velocity (in meters/sec) of the Z axis [Experimental].
- getWorldLinearAccelX() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current linear acceleration in the X-axis (in G).
- getWorldLinearAccelY() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current linear acceleration in the Y-axis (in G).
- getWorldLinearAccelZ() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current linear acceleration in the Z-axis (in G).
- getYaw() - Method in class com.kauailabs.navx.frc.AHRS
-
Returns the current yaw value (in degrees, from -180 to 180)
reported by the sensor.
- getYaw() - Method in class com.kauailabs.navx.frc.Quaternion
-