def __init__(self, body, network, threshold=0.5, w_spread=2.0, w_heading=1.0, w_group=0.2): BaseRobot.__init__(self, body, network) self.threshold = threshold self.S = w_spread self.H = w_heading self.G = w_group return
def __init__(self, body, network, threshold): BaseRobot.__init__(self, body, network) self.threshold = threshold self.rendezvous_point = None self.path = [] self.known_lights = [] self.num_lights = 0 return
def __init__(self, body, network, threshold=0.5, w_spread=2., w_heading=1., w_group=0.2): BaseRobot.__init__(self, body, network) self.threshold = threshold self.S = w_spread self.H = w_heading self.G = w_group return
def __init__(self, setting): body = MockBody(setting.get("position"), setting.get("heading")) network = MockNetwork(setting.get("ID")) BaseRobot.__init__(self, body, network) return
def __init__(self, setting): body = MockBody(setting.get("position") ,setting.get("heading")) network = MockNetwork(setting.get("ID")) BaseRobot.__init__(self,body, network) return