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