def entry(self):
        #Sets the eyes to a fancy blue
        robotbody.set_eyes_led(0, 0, 31)

        #Starts walking forward with the given speed
        walk.walk_forward(self.speed)
        
        self.lost_ball_timer=time.time()+5
        
        print("See the robot walk")
    def entry(self):
        #Sets the eyes to a fancy blue
        robotbody.set_eyes_led(0, 0, 31)

        #Starts walking forward with the given speed
        walk.walk_forward(self.speed)
        
        #Sets the head position down to the ground
        set_head_position([0,pi/8])
        
        #How long it will wait until it has concluded that it has lost the ball
        self.lost_ball_timer=time.time()+2
        
        print("See the robot walk")
    def entry(self):
        print("See the robot walk")
        self.start_time = time.time()

        walk.walk_forward(self.speed)
Exemple #4
0
    def entry(self):
        print("Entry walk")
        self.start_time = time.time()

        walk.walk_forward(0.02)
Exemple #5
0
 def entry(self):
     print("start walking")
     walk.walk_forward(self.speed)