public class MyTestRobot extends VirtualRobot
IRobotState.robotState
colorSensor, coordinates, directedComm, distSensor, id, motion, neoPixel, proximitySensor, reality, robotMQTT, robotMqttClient, simpleComm, state
Constructor and Description |
---|
MyTestRobot(int id,
double x,
double y,
double heading) |
Modifier and Type | Method and Description |
---|---|
void |
communicationInterrupt(java.lang.String msg)
Handle communicationInterrupt triggers of the robot
|
void |
loop()
Handles the event loop of the robot
|
void |
setup()
Setup the modules, emulators and indicators
|
sensorInterrupt
public void setup()
Robot
public void loop() throws java.lang.Exception
VirtualRobot
loop
in interface IRobotState
loop
in class VirtualRobot
java.lang.Exception
public void communicationInterrupt(java.lang.String msg)
VirtualRobot
communicationInterrupt
in interface IRobotState
communicationInterrupt
in class VirtualRobot