_brain_cpg_network_neighbor

Module Contents

Classes

BrainCpgNetworkNeighbor

A CPG brain with active hinges that are connected if they are within 2 jumps in the modular robot tree structure.

class BrainCpgNetworkNeighbor(body: modular_robot.body.base.Body)

Bases: modular_robot.brain._brain.Brain

Inheritance diagram of modular_robot.brain.cpg._brain_cpg_network_neighbor.BrainCpgNetworkNeighbor

A CPG brain with active hinges that are connected if they are within 2 jumps in the modular robot tree structure.

That means, NOT grid coordinates, but tree distance.

make_instance() modular_robot.brain._brain_instance.BrainInstance

Create an instance of this brain.

Returns:

The created instance.