which the sensor is connected. Can be used to distinguish between several sensors of the same kind.\
& **Value:** The value is either true or false, corresponding to whether or not something is touching the button of the sensor.\
\
\
**sound(Port, Value)** & Percept from a sound sensor.\
& **Port:** Port on which the sensor is connected. Can be used to distinguish between several sensors of the same kind.\
& **Value:** Sound value read from the sensor.\
\

Project file
------------

I will not go into details with how a general project file looks. I will only describe which classes an agent must use for their architecture and belief base, and which parameters are available and must be specified, to allow *Jason* to connect the the Lego robots.

An agent in the file `project.mas2j` must look like this:

agentname agentsource.asl \[btname=“BTNAME”, btaddress=“BTADDRESS”, motora=“t/f”, motorb=“t/f”, motorc=“t/f”, sensor1=“...”, sensor2=“...”, sensor3=“...”, sensor4=“...”, sleep=“...”\] agentArchClass arch.LEGOAgArchitecture beliefBaseClass agent.UniqueBelsBB(“light(port,\_)”,“sound(port,\_)”, “obstacle(port,\_)”,“touching(port,\_)”);

The `agentArchClass` and `beliefBaseClass` must be set to the specified classes. The agent architecture takes care of all communication between ${A_{\textsf{Jason}}}$ and ${A_{\textsf{Lego}}}$. The belief base makes sure that at any time, we can have at most one percept from a single sensor. This 