_camera_sensor

Module Contents

Classes

CameraSensor

A camera for the Modular Robot.

class CameraSensor(position: pyrr.Vector3, orientation: pyrr.Quaternion = Quaternion(), camera_size: tuple[int, int] = (50, 50))

Bases: modular_robot.body.sensors._sensor.Sensor

Inheritance diagram of modular_robot.body.sensors._camera_sensor.CameraSensor

A camera for the Modular Robot.

property camera_size: tuple[int, int]

Get the size of the camera.

Returns:

The camera size.