Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 import rospy
00020 from wrapper_dashboard import WrapperDashboard
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 class Dashboard(WrapperDashboard):
00031
00032 def __init__(self, context):
00033 WrapperDashboard.__init__(self, context)
00034
00035 def onCreate(self, param):
00036 self.logWarn("Dashboard %s.onCreate not implemented !"%self.getName())
00037
00038 def onControlModeChanged(self, mode):
00039 self.logWarn("Dashboard %s.onControlModeChanged not implemented !"%self.getName())
00040
00041 def onUserChanged(self, user):
00042
00043 if user.getUserPrivilege() >= self.getAccessRights():
00044 self.setPopupEnabled(True)
00045 else:
00046 self.setPopupEnabled(False)
00047
00048 def onTranslate(self, lng):
00049 self.logWarn("Dashboard %s.onTranslate not implemented !"%self.getName())
00050
00051 def onEmergencyStop(self, state):
00052 self.logWarn("Dashboard %s.onEmergencyStop not implemented !"%self.getName())
00053
00054 def onDestroy(self):
00055 self.logWarn("Dashboard %s.onDestroy not implemented !"%self.getName())
00056
00057
00058