|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorc.Gyro
public class Gyro
An analog rate gyro can be connected to one of the first 3 external ADC ports. The uOrc hardware includes special integrator firmware; this provides an interface to that logic.
| Constructor Summary | |
|---|---|
Gyro(Orc orc,
int port)
Create a gyro with 0.005 V/(deg/S) sensitivity |
|
Gyro(Orc orc,
int port,
double voltsPerDegPerSec)
|
|
| Method Summary | |
|---|---|
void |
calibrate(double seconds)
Calibrate the gyro while the gyro remains motionless. |
double |
getTheta()
|
static void |
main(java.lang.String[] args)
|
void |
reset()
Reset the gyro position to zero. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Gyro(Orc orc,
int port)
public Gyro(Orc orc,
int port,
double voltsPerDegPerSec)
| Method Detail |
|---|
public void reset()
public double getTheta()
public void calibrate(double seconds)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||