33 from python_qt_binding.QtCore
import QMutex, QMutexLocker, QSize
36 from .icon_tool_button
import IconToolButton
41 A widget which launches a nav_view widget in order to view and interact with the ROS nav stack
43 :param context: The plugin context in which to dsiplay the nav_view, ''qt_gui.plugin_context.PluginContext''
44 :param name: The widgets name, ''str''
46 def __init__(self, context, name='NavView', icon_paths=None):
47 self.
_icons = [[
'bg-grey.svg',
'ic-navigation.svg']]
48 super(NavViewDashWidget, self).
__init__(name, icons=self.
_icons, suppress_overlays=
True, icon_paths=icon_paths)
51 self.setFixedSize(self.
_icons[0].actualSize(QSize(50, 30)))