|
|
|
|
@ -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)}"
|
|
|
|
|
return status
|
|
|
|
|
|
|
|
|
|
def send_lights_cmd(self):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
def send_fall_reset_cmd(self):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
''' EVENTS '''
|
|
|
|
|
|
|
|
|
|
def _register_collision(self, time_stamp):
|
|
|
|
|
|