public class L3G4200DGyro
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
gyro_deadzone
Minimum rotational speed to start accumulating rotation
|
static int |
GYRO_INIT_READS
Number of reads to do on init
|
short |
zero_motion_offset
Nominal Z value.
|
Modifier and Type | Method and Description |
---|---|
double |
get_gyro_angle()
Get the most recent angle calculation result from the gyro.
|
boolean |
get_gyro_initalized()
Check if the gyro has been initalized fully yet or not.
|
boolean |
get_gyro_read_status()
Check if the most recent read from the gyro was good or not.
|
double |
get_gyro_z() |
void |
reset_gyro_angle()
Resets the current angle of the gyro to zero
|
public static final int GYRO_INIT_READS
public short zero_motion_offset
public static final double gyro_deadzone
public double get_gyro_z()
public double get_gyro_angle()
public void reset_gyro_angle()
public boolean get_gyro_read_status()
public boolean get_gyro_initalized()