public class BrickPiConnector
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DELAY
How frequently send valuesMessages to get updated values from the brick pi.
|
static int |
MOTOR_TIMEOUT
Timeout to shutdown motors.
|
static int |
RECV_TIMEOUT
Contains the timeout after which we assume the response was lost
|
| Constructor and Description |
|---|
BrickPiConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Immediately send the values message to update the BrickPi
with the values of the local state
|
void |
start()
Starts the execution of the BrickPi
|
void |
stop()
Stops the execution of the BrickPi
|
public static final int DEFAULT_DELAY
public static final int RECV_TIMEOUT
public static final int MOTOR_TIMEOUT