safety_master_plugin/scripts/master_info.py

16 lines
347 B
Python
Raw Normal View History

2021-08-13 14:38:22 +02:00
#!/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