Controller File Specifications


In order for the Controller File to be compatible with the visual simulation as well as the actual execution on the Real Robot, the file MUST follow a very specific format.

Controller File creation is a combination of an interface called the Controller Interface which provides the skeleton for the program, and AbstractRobot Functions, that deliver the building blocks which fill the skeleton.

FYI: Java interfaces provide a set of definitions which the file using the interface must adhere to. Mainly, the definitions specify methods that must be declared in the user file.

On a programming level, the skeleton translates to methods in the Controller File, while the building blocks are funcitions which the robot can perform such as getting a value from a sensor.

 


Related topics:

--> The Controller Interface

--> AbstractRobot Functions

--> Sample Controller File: ZincRocker