fall and lights

main
moscowsky 4 weeks ago
parent b34711ebc6
commit 730c2417dd

@ -58,6 +58,12 @@ class RobotController(object):
status = f"{type(self).__name__}\n - Total score {self.get_score()}\n - Hit points: {self._hit_points}/{self._start_hp}\n - Extingushed sources of fire {len(self._exted_sofs)}\n - Fire extinguiher capacity {self._fire_ext_capacity}/{self._fire_ext_max_capacity}\n - Collisions {len(self._collisions)}\n - Falls {len(self._falls)}" status = f"{type(self).__name__}\n - Total score {self.get_score()}\n - Hit points: {self._hit_points}/{self._start_hp}\n - Extingushed sources of fire {len(self._exted_sofs)}\n - Fire extinguiher capacity {self._fire_ext_capacity}/{self._fire_ext_max_capacity}\n - Collisions {len(self._collisions)}\n - Falls {len(self._falls)}"
return status return status
def send_lights_cmd(self):
pass
def send_fall_reset_cmd(self):
pass
''' EVENTS ''' ''' EVENTS '''
def _register_collision(self, time_stamp): def _register_collision(self, time_stamp):

Loading…
Cancel
Save