def __init__(self, sensor_list_filepath, config):
     Heatmap.__init__(self, sensor_list_filepath, config)
     self.heatmap = self.get_heatmap_array()
     self.landing_zone = (0, 0)  # Eventually will look at historical data
     self.previous_point = (0, 0)
Exemple #2
0
 def __init__(self, sensor_list_filepath, smarthome_data_filepath, config):
     Heatmap.__init__(self, sensor_list_filepath, config)
     self._load_from_file(smarthome_data_filepath)