Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 import time, math
00010
00011
00012 GUI_WAIT_TIME = 25.0
00013
00014
00015 DEFAULT_PAUSE = 2.5
00016
00017
00018 TOPIC_NAME = '/taskboard/TaskboardPanelA'
00019
00020
00021 SERVICE_PARENT = '/taskboard'
00022
00023
00024 SERVICE_MANIPULATE_POWER_COVER = SERVICE_PARENT + '/manipulate_power_cover'
00025 SERVICE_MANIPULATE_POWER_SWITCH = SERVICE_PARENT + '/manipulate_power_switch'
00026 SERVICE_MANIPULATE_ROCKER_SWITCH = SERVICE_PARENT + '/manipulate_rocker_switch_a01'
00027 SERVICE_MANIPULATE_NUMPAD = SERVICE_PARENT + '/manipulate_numpad'
00028 SERVICE_MANIPULATE_SAFE_TOGGLE = SERVICE_PARENT + '/manipulate_safe_toggle'
00029
00030 def deg2rad(degrees):
00031 return math.pi * degrees / 180
00032
00033 def wait(pause = DEFAULT_PAUSE):
00034 time.sleep(pause)