Low level components

The low level component layer consists out of the sensors plus the wheels component. The sensor components process the sensor data specific to their sensor. They connect to the networking component and request the networking component to relay the sensor data to them.

The following low level components are available:

Sensor Module

class sensor.Sensor

The Sensor class implements basic functionality that all sensors share. Sensor components extend this class when implementing a sensor.

The class has implemented the setup() method that is called to connect, and has defined a basic command() method.

connect(client)
Registers the sensor at the network relay using sensorType.
name
Internal name of the component.
sensorType
The type of sensor to register at the network relay.
setup()
Start listening for driver connections, and open connection to the networking component.

Table Of Contents

Previous topic

Networking in SEGA

Next topic

Laser

This Page