l1.5-safety-system/safety_user_plugin/scripts/ros_wrapper.py

31 lines
674 B
Python
Raw Normal View History

#!/usr/bin/env python
2018-09-17 18:29:00 +02:00
class ROSWrapper:
2018-09-17 21:39:35 +02:00
def __init__(self):
pass
2018-09-17 21:39:35 +02:00
def setup_node(self):
raise NotImplementedError
2018-09-17 21:39:35 +02:00
def select_robot(self,robot_id):
raise NotImplementedError
return False
2018-09-17 21:39:35 +02:00
def set_robots_list_update_callback(self,callback_function):
self.robots_list_update_callback = callback_function
def unregister_node(self):
raise NotImplementedError
def engage_clutch(self):
raise NotImplementedError
def disengage_clutch(self):
raise NotImplementedError
def user_stopped():
raise NotImplementedError
def user_started():
raise NotImplementedError