2018-09-17 18:29:00 +02:00
|
|
|
#!/usr/bin/env python
|
2018-09-17 15:47:43 +02:00
|
|
|
|
2018-09-17 18:29:00 +02:00
|
|
|
import os
|
|
|
|
import rospy
|
|
|
|
import rospkg
|
|
|
|
|
|
|
|
from qt_gui.plugin import Plugin
|
|
|
|
|
|
|
|
from qt_wrapper import QtWrapper
|
|
|
|
from ros_wrapper import ROSWrapper
|
|
|
|
from user_widget import UserWidget
|
|
|
|
|
|
|
|
class UserPlugin(Plugin):
|
|
|
|
|
|
|
|
def __init__(self,context):
|
|
|
|
super(UserPlugin, self).__init__(context)
|
|
|
|
self.setObjectName('User Plugin - L1.5 safety system')
|
|
|
|
|
|
|
|
self.widget = UserWidget(context)
|
|
|
|
self.qt_wrapper = QtWrapper(self.widget)
|
|
|
|
self.ros_wrapper = ROSWrapper()
|