class WalkInACircle(BehaviourTask):
    
   def init(self):
      self.walk2Point = WalkToPoint(self.world)

   def tick(self):
      self.walk2Point.tick(Global.ballDistance() - 50, -130, Global.ballHeading(), relative=True)
예제 #2
0
class WalkInACircle(BehaviourTask):
    def init(self):
        self.walk2Point = WalkToPoint(self.world)

    def tick(self):
        self.walk2Point.tick(Global.ballDistance() - 50,
                             -130,
                             Global.ballHeading(),
                             relative=True)
예제 #3
0
 def init(self):
     self.walk2Point = WalkToPoint(self.world)
 def init(self):
    self.walk2Point = WalkToPoint(self.world)
예제 #5
0
 def init(self):
    self.stateTimer = WallTimer(10 * 1000000)
    self.w2p = WalkToPoint(self.world)
    self.current_state = Stand(self, timeToRun=10)
예제 #6
0
 def init(self, timeToRun=0, initMessage=""):
    self.timer = WallTimer(timeToRun*1000000)
    robot.say(initMessage)
    self.w2p = WalkToPoint(self.world)