devices.sensors module

Sensors used on the robot

class devices.sensors.IDPColorDetector(sampling_rate)

Bases: object

get_color()

Returns the color from the color sensors

Returns

color of the block or none

Return type

string

class devices.sensors.IDPCompass(name, sampling_rate)

Bases: controller.Compass

class devices.sensors.IDPDistanceSensor(name, sampling_rate, decreasing=False, min_range=0)

Bases: controller.DistanceSensor

getBounds()
getValue()
class devices.sensors.IDPGPS(name, sampling_rate)

Bases: controller.GPS

class devices.sensors.IDPLightSensor(name, sampling_rate)

Bases: controller.LightSensor