21 lines
502 B
Python
Executable File
21 lines
502 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
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() |