_brain

Module Contents

Classes

Brain

The brain of a modular robot.

class Brain

Bases: abc.ABC

Inheritance diagram of modular_robot.brain._brain.Brain

The brain of a modular robot.

Inherit from this to implement your own brain. Each brain implements the make_instance function, which create the actual brain instance that control the robot. The instance contains all the state associated with the control strategy; this class must be stateless.

abstract make_instance() modular_robot.brain._brain_instance.BrainInstance

Create an instance of this brain.

Returns:

The created instance.