Packageorg.MARS.robot.control
Interfacepublic interface IController extends IElectronicDevice
ImplementorsBattery, BrainOne, BrainTwo, LineFollowingBrain, SquidTestBrain

Defines the minimal functionaly of an alectronic controller device



Public Properties
 PropertyDefined by
 InheritednumberOfPorts : Number
Get the number of IO ports in the device.
IElectronicDevice
Public Methods
 MethodDefined by
 Inherited
getPort(portNumber:Number):IOPort
Get a certain IO port by its number
IElectronicDevice
  
step():void
A function that is called on every step of the physics engine.
IController
Method detail
step()method
public function step():void

A function that is called on every step of the physics engine. It reads the sensors' input and reverses the motors whenever needed.