コード例 #1
0
ファイル: goalie.py プロジェクト: alon/burst
 def __init__(self, actions):
     InitialBehavior.__init__(self, actions=actions, name=self.__class__.__name__, initial_pose=poses.SIT_POS)
     self._world.ball.shouldComputeIntersection = True
     self.targetFinder = TargetFinder(actions=self._actions, targets=[self._world.ball], start=False)
     self.targetFinder.setOnTargetFoundCB(self.targetFound)
     self.targetFinder.setOnTargetLostCB(self.targetLost)
     self.targetFinder.setOnSearchFailedCB(self.searchFailed)
コード例 #2
0
 def __init__(self, actions):
     InitialBehavior.__init__(self, actions=actions, name=self.__class__.__name__)
コード例 #3
0
ファイル: walkTester.py プロジェクト: alon/burst
 def __init__(self, actions):
     InitialBehavior.__init__(self, actions=actions, name=self.__class__.__name__, initial_pose=poses.STRAIGHT_WALK_INITIAL_POSE)
コード例 #4
0
ファイル: visionTesting.py プロジェクト: alon/burst
 def __init__(self, actions):
     InitialBehavior.__init__(self, actions=actions, name=self.__class__.__name__, initial_pose=poses.SIT_POS)
コード例 #5
0
ファイル: diagonalTester.py プロジェクト: alon/burst
 def __init__(self, actions):
     InitialBehavior.__init__(self, actions=actions, name=self.__class__.__name__, initial_pose=poses.STRAIGHT_WALK_INITIAL_POSE)
     self._ballFinder = TargetFinder(actions=actions, targets=[self._world.ball], start=False)
     self._ballFinder.setOnTargetFoundCB(self.ball_found)
     self._ballFinder.setOnTargetLostCB(self.ball_lost)