MPUSensor Class

Report accelerometer and gyro readings from an MPU6050 sensor. This feature is only available in the Education Edition of the RoboTx API.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 2.0.0
C#
public sealed class MPUSensor : ContinuousSensor
Inheritance
Object    ContinuousSensor    MPUSensor

Properties

Accel Reports accelerometer readings from an MPU6050 sensor.
Gyro Reports gyrometer readings from an MPU6050 sensor.
IsEnabled Returns true if the sensor has been enabled.
(Inherited from ContinuousSensor)
IsReady Returns true if the sensor values are available for reading.
(Inherited from ContinuousSensor)

Methods

Disable Stops the MPU6050 sensor from reporting readings.
(Overrides ContinuousSensorDisable)
Enable Enables the MPU6050 sensor to begin reporting readings.
(Overrides ContinuousSensorEnable)

See Also