#FORMAT python # A simple brain from pyrobot.brain import Brain # Define the robot's brain class class SimpleBrain(Brain): # Only method you have to define is the step method def step(self): self.robot.translate(0.3) # go forward # Create a brain for the robot def INIT(engine): return SimpleBrain('SimpleBrain', engine)