def init(): global panel panel = TaskWidgetManager() dock = app.addWidgetToDock(panel.taskQueueWidget.widget, action=app.getToolBarActions()['ActionTaskManagerPanel']) dock.hide() dock = app.addWidgetToDock(panel.taskLibraryWidget.widget) dock.hide() return panel
def _getAction(): return app.getToolBarActions()['ActionSensorDataRequestPanel']
def _getAction(): return app.getToolBarActions()['ActionFootstepPanel']
def _getAction(): return app.getToolBarActions()['ActionScreenGrabberPanel']
def onColorizeLidar(): colorizeEnabled = app.getToolBarActions()[actionName].checked colorizeMaps(colorizeEnabled) colorizeMultisense(colorizeEnabled) colorizeSegmentationLidar(colorizeEnabled)
def _getAction(): return app.getToolBarActions()['ActionNavigationPanel']
def _getAction(): return app.getToolBarActions()['ActionTaskLauncher']
def _getAction(): return app.getToolBarActions()['ActionHandControlPanel']
def _getAction(): return app.getToolBarActions()['ActionMappingPanel']
def _getAction(): return app.getToolBarActions()['ActionMultisensePanel']
def _getAction(): return app.getToolBarActions()['ActionPFGraspPanel']
def _getAction(): return app.getToolBarActions()['ActionAtlasDriverPanel']
def init(): action = app.getToolBarActions()[actionName] action.connect(action, 'triggered()', onColorizeLidar) initColorizeCallbacks()