l1.5-safety-system/safety_master_plugin/scripts/master_info.py

16 lines
347 B
Python

#!/usr/bin/env python
# from robot_info import RobotInfo
class MasterInfo:
def __init__(self):
self.robots_id_list = []
self.master_stop_state = None
self.restrictions = None
def get_master_stop_state(self):
return self.master_stop_state
def get_restrictions(self):
return self.restrictions