_sensor

Module Contents

Classes

Sensor

An abstract Sensor Class.

class Sensor(orientation: pyrr.Quaternion, position: pyrr.Vector3)

Bases: abc.ABC

Inheritance diagram of modular_robot.body.sensors._sensor.Sensor

An abstract Sensor Class.

property uuid: uuid.UUID

Get the uuid of the sensor.

Returns:

The uuid.

property orientation: pyrr.Quaternion

Return the orientation of the sensor.

Returns:

The orientation.

property position: pyrr.Vector3

Get the relative position of the sensor on a module.

Returns:

The position.