示例#1
0
文件: core.py 项目: mcyue/TKURoboSot
 def __init__(self, robot_num, sim=False):
     super(Core, self).__init__(robot_num, sim)
     StateMachine.__init__(self)
     self.CC = Chase()
     self.AC = Attack()
     self.BC = Behavior()
     self.sim = sim
示例#2
0
 def __init__(self, sim = False):
   super(Core, self).__init__(sim)
   StateMachine.__init__(self)
   self.CC  = Chase()
   self.BC  = Behavior()
   self.block = 0
   dsrv = DynamicReconfigureServer(PassingConfig, self.Callback)
示例#3
0
 def __init__(self, sim=False):
     super(Core, self).__init__(sim)
     StateMachine.__init__(self)
     self.CC = Chase()
     self.AC = Attack()
     self.BC = Behavior()
     self.left_ang = 0
     self.dest_angle = 0
     dsrv = DynamicReconfigureServer(RobotConfig, self.Callback)
示例#4
0
 def __init__(self, robot_num, sim = False):
   super(Core, self).__init__(robot_num, sim)
   StateMachine.__init__(self)
   self.CC  = Chase()
   self.AC  = Attack()
   self.BC  = Behavior()
   self.goal_dis = 0
   self.tStart = time.time()
   self.block = 0
   dsrv = DynamicReconfigureServer(RobotConfig, self.Callback)
示例#5
0
 def __init__(self, sim=False):
     super(MyStateMachine, self).__init__(sim)
     StateMachine.__init__(self)
     self.CC = Chase()
     self.AC = Attack()
     dsrv = DynamicReconfigureServer(RobotConfig, self.Callback)