public class ADXRS453_Gyro
extends GyroBase
Modifier and Type | Field and Description |
---|---|
static double |
kCalibrationSampleTime |
Constructor and Description |
---|
ADXRS453_Gyro()
Constructor.
|
ADXRS453_Gyro(SPI.Port port)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
calibrate()
This is a blocking calibration call.
|
void |
cancelCalibrate() |
void |
endCalibrate() |
void |
free()
Delete (free) the spi port used for the gyro and stop accumulating.
|
double |
getAngle() |
double |
getCenter() |
double |
getRate() |
boolean |
isOnline() |
void |
reset() |
void |
startCalibrate() |
public static final double kCalibrationSampleTime
public ADXRS453_Gyro()
public ADXRS453_Gyro(SPI.Port port)
port
- (the SPI port that the gyro is connected to)public boolean isOnline()
public void calibrate()
public void startCalibrate()
public void endCalibrate()
public void cancelCalibrate()
public double getCenter()
public void reset()
public void free()
public double getAngle()
public double getRate()