robocup_knowledge
challenge_test.py
Go to the documentation of this file.
1 from __future__ import print_function
2 
3 ''' printing shortcuts '''
4 def printOk(sentence):
5  print(prefix + bcolors.OKBLUE + sentence + bcolors.ENDC)
6 
7 def printError(sentence):
8  print(prefix + bcolors.FAIL + sentence + bcolors.ENDC)
9 
10 def printWarning(sentence):
11  print(prefix + bcolors.WARNING + sentence + bcolors.ENDC)
12 
13 prefix = bcolors.HEADER + "[Challenge Test] " + bcolors.ENDC
14 
15 
16 ''' waypoint used to test navigation '''
17 wp_test_nav = "wp_test_nav1"
18 
19 
20 ''' point in the center of the living room, to filter location of humans '''
21 # room_center = {'x':1.365, 'y':0.978, 'z':0.0, 'frame_id':"map"}
22 
23 ''' entity to inspect '''
24 INSPECT_ENTITY_ID = "cabinet"
25 INSPECT_ROOM_ID = "kitchen"
26 
27 '''Object types that can be recognized'''
28 obj_type_human=['human']
29 obj_type_drinks=['cola', 'fanta']
challenge_test.printError
def printError(sentence)
Definition: challenge_test.py:7
challenge_test.printOk
def printOk(sentence)
Definition: challenge_test.py:4
challenge_test.printWarning
def printWarning(sentence)
Definition: challenge_test.py:10