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

70 lines
1.5 KiB
Python

#!/usr/bin/env python
import os
import rospy
import rospkg
# from python_qt_binding.QtWidgets import QWidget, QDialog
class QtWrapper:
def __init__(self,widget):
self.widget = widget
self.widget.textBrowser.setText('Sukces')
def connect_signals(self):
pass
def select_robot(self,robot_id):
raise NotImplementedError
def release_robot(self):
raise NotImplementedError
def update_robots_list_gui(self,robots_id_list):
# raise NotImplementedError
pass
def update_selected_robot_info(self,robot_info):
raise NotImplementedError
def master_stopped(self):
raise NotImplementedError
def master_started(self):
raise NotImplementedError
def user_stopped(self):
raise NotImplementedError
def user_started(self):
raise NotImplementedError
def engage_clutch(self):
raise NotImplementedError
def disengage_clutch(self):
raise NotImplementedError
def master_is_stopped_notify(self):
raise NotImplementedError
def update_restrictions_gui(self,restrictions):
raise NotImplementedError
def set_robot_selection_callback(self,callback):
# raise NotImplementedError
pass
def set_user_stop_state_updated_callback(self,callback):
# raise NotImplementedError
pass
def set_clutch_switched_callback(self,callback):
# raise NotImplementedError
pass
def connection_to_robot_lost(self,lost_robot_id):
raise NotImplementedError