00001 #!/usr/bin/env python 00002 from rqt_gui_py.plugin import Plugin 00003 from .main_widget import MainWidget 00004 00005 00006 class JointTrajectoryPlot(Plugin): 00007 def __init__(self, context): 00008 super(JointTrajectoryPlot, self).__init__(context) 00009 self.context = context 00010 self.setObjectName('JointTrajctoryPlot') 00011 # Create a MainWidget 00012 self.main_widget = MainWidget() 00013 context.add_widget(self.main_widget) 00014 00015 def save_settings(self, plugin_settings, instance_settings): 00016 pass 00017 00018 def restore_settings(self, plugin_settings, instance_settings): 00019 pass 00020 00021 def trigger_configuration(self): 00022 pass 00023 00024 def shutdown_plugin(self): 00025 self.main_widget.close()