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(
'Navigation View')