public class PiconZeroMotor extends MotorBase
Constructor and Description |
---|
PiconZeroMotor(PiconZero piconZero,
int motor) |
Modifier and Type | Method and Description |
---|---|
void |
backward(float speed) |
void |
close() |
void |
forward(float speed) |
float |
getValue()
Get the relative output value for the motor
|
boolean |
isActive() |
void |
stop() |
addListener, removeListener, reverse, setValue, valueChanged, whenBackward, whenForward, whenStop
public PiconZeroMotor(PiconZero piconZero, int motor)
public void forward(float speed) throws RuntimeIOException
RuntimeIOException
public void backward(float speed) throws RuntimeIOException
RuntimeIOException
public void stop() throws RuntimeIOException
RuntimeIOException
public float getValue() throws RuntimeIOException
RuntimeIOException
public boolean isActive() throws RuntimeIOException
RuntimeIOException
public void close() throws IOException
IOException
Copyright © 2016–2017 mattjlewis. All rights reserved.