of a list of motors.\
& **Motors:** List of motors.\
\
\
**speed(Motors,Speed)** & Sets the speed for each motor in the list.\
& **Motors:** List of motors.\
& **Speed:** List of speed, corresponding to the motor of the same index in the other list.\
\
\
**stop(Motors)** & Stops the motors in the list.\
& **Motors:** List of motors.\
\
\
**block(Blocking)** & Sets whether the rotation command should return control to the thread immediately.\
& **Blocking:** Boolean value specifying whether rotation is blocking or control should be return immediately.\
\
\
**exit** & Tells the (Lego) agent to shut down.\
\

Percepts
--------

[lp[0.6]{}]{} **light(Port, Value)** & Percept from a light sensor.\
& **Port:** Port on which the sensor is connected. Can be used to distinguish between several sensors of the same kind.\
& **Value:** Light value read from the sensor.\
\
\
**obstacle(Port, Value)** & Percept from an ultrasonic sensor.\
& **Port:** Port on which the sensor is connected. Can be used to distinguish between several sensors of the same kind.\
& **Value:** Distance to obstacle read from the sensor (max = 255).\
\
\
**touching(Port, Value)** & Percept from a touch sensor.\
& **Port:** Port on 