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