dummy
A brain that does nothing.
Package Contents
Classes
A brain that does nothing. |
|
A brain that does nothing. |
- class BrainDummy
Bases:
modular_robot.brain._brain.Brain
A brain that does nothing.
- make_instance() modular_robot.brain._brain_instance.BrainInstance
Create an instance of this brain.
- Returns:
The created instance.
- class BrainDummyInstance
Bases:
modular_robot.brain._brain_instance.BrainInstance
A brain that does nothing.
- control(dt: float, sensor_state: modular_robot.sensor_state.ModularRobotSensorState, control_interface: modular_robot._modular_robot_control_interface.ModularRobotControlInterface) None
Control nothing.
This brain does not do anything for control, as it is an empty box.
- Parameters:
dt – Elapsed seconds since last call to this function.
sensor_state – Interface for reading the current sensor state.
control_interface – Interface for controlling the robot.