Ejemplo n.º 1
0
class QuadrupedController( WalkerController ):
	def __init__( self, chromosomes = None):
		super(QuadrupedController, self).__init__(chromosomes)
		self.walkerBody = QuadrupedBody( chromosomes )
		
	def initBody( self ):
		self.walkerBody.initBody( self.getChromosomes() )

	def initGenome( self, chromosomes ):
		self.genome = QuadrupedGenome( chromosomes )
Ejemplo n.º 2
0
	def __init__( self, chromosomes = None):
		super(QuadrupedController, self).__init__(chromosomes)
		self.walkerBody = QuadrupedBody( chromosomes )