public class MyTestRobot extends VirtualRobot
IRobotState.robotStatecolorSensor, 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
|
sensorInterruptpublic void setup()
Robotpublic void loop()
throws java.lang.Exception
VirtualRobotloop in interface IRobotStateloop in class VirtualRobotjava.lang.Exceptionpublic void communicationInterrupt(java.lang.String msg)
VirtualRobotcommunicationInterrupt in interface IRobotStatecommunicationInterrupt in class VirtualRobot