33 from .nav_view
import NavViewWidget
39 super(NavViewPlugin, self).
__init__(context)
40 if context.serial_number() > 1:
41 raise RuntimeError(
"Due to a limitation of tf_frames you may not run more than one instance of rqt_nav_view.")
43 if context.serial_number() > 1:
44 self._widget.setWindowTitle(self._widget.windowTitle() + (
' (%d)' % context.serial_number()))
45 context.add_widget(self.
_widget)
47 self.setObjectName(
'Naviation View')
50 self._widget.save_settings(plugin_settings, instance_settings)
53 self._widget.restore_settings(plugin_settings, instance_settings)
def save_settings(self, plugin_settings, instance_settings)
def restore_settings(self, plugin_settings, instance_settings)
def __init__(self, context)