public class GyroRateSensor extends Sensor
| Constructor and Description |
|---|
GyroRateSensor()
Creates a sensor instance connected to port S1.
|
GyroRateSensor(SensorPort port)
Creates a sensor instance connected to the given port.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Returns the angular velocity.
|
public GyroRateSensor(SensorPort port)
port - the port where the sensor is plugged-inpublic GyroRateSensor()