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
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)
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)
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)
def __init__(self, sim=False): super(MyStateMachine, self).__init__(sim) StateMachine.__init__(self) self.CC = Chase() self.AC = Attack() dsrv = DynamicReconfigureServer(RobotConfig, self.Callback)