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)
Example #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)
Example #3
0
 def init(self):
     self.walk2Point = WalkToPoint(self.world)
 def init(self):
    self.walk2Point = WalkToPoint(self.world)
Example #5
0
 def init(self):
    self.stateTimer = WallTimer(10 * 1000000)
    self.w2p = WalkToPoint(self.world)
    self.current_state = Stand(self, timeToRun=10)
Example #6
0
 def init(self, timeToRun=0, initMessage=""):
    self.timer = WallTimer(timeToRun*1000000)
    robot.say(initMessage)
    self.w2p = WalkToPoint(self.world)