robocup_knowledge
Variables
challenge_gpsr Namespace Reference

Variables

 challenge_speech_recognition_data
 
 choices
 
 choices_questions
 
 common = knowledge_loader.load_knowledge("common")
 
string exit_waypoint = "gpsr_exit_door_2"
 
string follow_action = "follow", {"location-from": {""}, "location-to": {}, "target": {}}
 Demo. More...
 
string follow_acton = "follow", {"location-from": {""}, "location-to": {}, "target": {}}
 FIND. More...
 
 gpsr_exit
 
string grammar
 Actions. More...
 
 grammar_parser = CFGParser.fromstring(obj_grammar)
 
string grammar_target = "T"
 
string initial_pose = "initial_pose"
 
string loc_grammar
 INCOMPLETE QUESTIONS. More...
 
list location_placement
 
list location_types = ['', 'shelf', 'appliance', 'seat', 'table', 'utility']
 NEW, location_types:
More...
 
 manipulation_location
 Verbs & shared stuff. More...
 
string meeting_point = "gpsr_meeting_point"
 
list not_understood_sentences
 
string obj_grammar
 
list object_types = object_types_plural + object_types_singular
 
list object_types_plural = ["decoration", "food", "drinks", "tools", "leisure"]
 
list object_types_singular = ["drink", "snack", "bowl", "tray", "tool", "leisure"]
 
list objects_known
 GPSR KNOWLEDGE FOR ASKING FOR ACTION: ####. More...
 
 objects_known_recognize
 
list persons_men = ["Alfred","Charles","Daniel","James","John","Luis","Paul","Richard","Robert","Steve"]
 
list persons_women = ["Anna","Beth","Carmen","Jennifer","Jessica","Kimberly","Kristina","Laura","Mary","Sarah"]
 
 pick_location
 Verbs & shared stuff. More...
 
 place_location
 
 question_grammar
 
 question_grammar_target
 Question grammar. More...
 
 result = grammar_parser.parse("T", sentence)
 
 rooms = common.rooms + ["entrance", "exit"]
 
 rooms_detailed
 
string sentence = " ".join(sys.argv[2:])
 
string spec = "("+spec_get_deliver+"|"+spec_goroom_findobj+"|"+spec_findperson_talk+")"
 
string spec_findperson_talk = "(<2_vb_find> a person in the <1_room> and ((answer a <3_question>)|(<3_vb_speak> <3_name_time_date>)))"
 
string spec_get_deliver = "(<2_vb_take> the <2_object> from the <1_location> and <3_vb_deliver> it to (<3_person_me>|(the <3_place_location>)|(<3_person> (at|in|(which is in)) the <3_room>)))"
 
string spec_goroom_findobj = "(<1_vb_goto> the <1_room> and <2_vb_find> the <2_object>)"
 
 spec_questions
 
 spr
 
string starting_point = "initial_pose_door_A"
 
string starting_pose = "gpsr_meeting_point"
 
dictionary translations = { "bookcase" : "bocase" }
 
 True
 

Variable Documentation

◆ challenge_speech_recognition_data

challenge_gpsr.challenge_speech_recognition_data

Definition at line 3 of file rwc2015/challenge_gpsr.py.

◆ choices

challenge_gpsr.choices

Definition at line 59 of file rwc2015/challenge_gpsr.py.

◆ choices_questions

challenge_gpsr.choices_questions

Definition at line 6 of file rwc2015/challenge_gpsr.py.

◆ common

challenge_gpsr.common = knowledge_loader.load_knowledge("common")

Definition at line 4 of file demo/challenge_gpsr.py.

◆ exit_waypoint

string challenge_gpsr.exit_waypoint = "gpsr_exit_door_2"

Definition at line 15 of file impuls/challenge_gpsr.py.

◆ follow_action

challenge_gpsr.follow_action = "follow", {"location-from": {""}, "location-to": {}, "target": {}}

Demo.

FIND.

FIND Navigate Inspect Pick-up Place Follow BRING SAY

Navigate Pick-up Place BRING SAY

Definition at line 248 of file rgo2018/challenge_gpsr.py.

◆ follow_acton

string challenge_gpsr.follow_acton = "follow", {"location-from": {""}, "location-to": {}, "target": {}}

FIND.

Navigate Pick-up Place Follow BRING SAY

Definition at line 196 of file rgo2017/challenge_gpsr.py.

◆ gpsr_exit

challenge_gpsr.gpsr_exit

Definition at line 11 of file rwc2015/challenge_gpsr.py.

◆ grammar

string challenge_gpsr.grammar
Initial value:
1 = """
2 T[{actions : <A>}] -> C[A] | amigo C[A]
3 
4 C[{A}] -> VP[A]
5 """

Actions.

Definition at line 21 of file demo/challenge_gpsr.py.

◆ grammar_parser

challenge_gpsr.grammar_parser = CFGParser.fromstring(obj_grammar)

Definition at line 197 of file demo/challenge_gpsr.py.

◆ grammar_target

string challenge_gpsr.grammar_target = "T"

Definition at line 13 of file demo/challenge_gpsr.py.

◆ initial_pose

string challenge_gpsr.initial_pose = "initial_pose"

Definition at line 13 of file impuls/challenge_gpsr.py.

◆ loc_grammar

string challenge_gpsr.loc_grammar
Initial value:
1 = """
2 
3 HE_SHE -> he | she | it | him | her
4 
5 VP["object": {"id": X}] -> HE_SHE is in the ROOMS_AND_LOCATIONS[X] | in the ROOMS_AND_LOCATIONS[X] | you could find HE_SHE in the ROOMS_AND_LOCATIONS[X]
6 """

INCOMPLETE QUESTIONS.

ANSWER QUESTION.

FIND OUT AND REPORT INCOMPLETE QUESTIONS

Definition at line 226 of file rgo2017/challenge_gpsr.py.

◆ location_placement

challenge_gpsr.location_placement
Initial value:
1 = ['left bedside table', 'dinnertable', 'cupboard',
2  'bartable', 'stove', 'counter', 'left bookcase', 'fridge',
3  'bed', 'sink', 'desk', 'small table',
4  'kitchencounter', 'cabinet', 'couchtable', 'right bedside table', 'right bookcase']

Definition at line 17 of file rgo2015/challenge_gpsr.py.

◆ location_types

list challenge_gpsr.location_types = ['', 'shelf', 'appliance', 'seat', 'table', 'utility']

NEW, location_types:

Definition at line 23 of file rgo2015/challenge_gpsr.py.

◆ manipulation_location

challenge_gpsr.manipulation_location

Verbs & shared stuff.

Definition at line 60 of file rwc2023/challenge_gpsr.py.

◆ meeting_point

challenge_gpsr.meeting_point = "gpsr_meeting_point"

Definition at line 5 of file rgo2015/challenge_gpsr.py.

◆ not_understood_sentences

list challenge_gpsr.not_understood_sentences
Initial value:
1 = [
2  "I'm so sorry! Can you please speak louder and slower? And wait for the ping!",
3  "I am deeply sorry. Please try again, but wait for the ping!",
4  "You and I have communication issues. Speak up!",
5  "All this noise is messing with my audio. Try again"
6  ]

Definition at line 6 of file demo/challenge_gpsr.py.

◆ obj_grammar

string challenge_gpsr.obj_grammar
Initial value:
1 = """
2 
3 VP["object": {"id": Y}] -> the OBJECT_NAMES[Z] is DET OBJECT_NAMES[Y] | the OBJECT_NAMES[Z] is OBJECT_NAMES[Y] | OBJECT_NAMES[Y] | DET OBJECT_NAMES[Y]
4 """

Definition at line 233 of file rgo2017/challenge_gpsr.py.

◆ object_types

list challenge_gpsr.object_types = object_types_plural + object_types_singular

Definition at line 15 of file rgo2015/challenge_gpsr.py.

◆ object_types_plural

list challenge_gpsr.object_types_plural = ["decoration", "food", "drinks", "tools", "leisure"]

Definition at line 13 of file rgo2015/challenge_gpsr.py.

◆ object_types_singular

list challenge_gpsr.object_types_singular = ["drink", "snack", "bowl", "tray", "tool", "leisure"]

Definition at line 14 of file rgo2015/challenge_gpsr.py.

◆ objects_known

challenge_gpsr.objects_known
Initial value:
1 = ["ice-tea", "oblates", "bubblegum", "candle", "cup", "beer", "wd40", "filler", "chocolate cereals", "coke",
2  "chocosticks", "yellow candle", "noodles", "coffee", "cranberry cereals", "muesli cereals", "bubblemint",
3  "deodorant", "brush", "cigarettes", "red bull", "meadow milk", "mints", "pringles", "fresh milk", "coffeepads",
4  "peanut"]

GPSR KNOWLEDGE FOR ASKING FOR ACTION: ####.

Definition at line 8 of file rgo2015/challenge_gpsr.py.

◆ objects_known_recognize

challenge_gpsr.objects_known_recognize

Definition at line 19 of file rwc2015/challenge_gpsr.py.

◆ persons_men

challenge_gpsr.persons_men = ["Alfred","Charles","Daniel","James","John","Luis","Paul","Richard","Robert","Steve"]

Definition at line 27 of file rgo2015/challenge_gpsr.py.

◆ persons_women

challenge_gpsr.persons_women = ["Anna","Beth","Carmen","Jennifer","Jessica","Kimberly","Kristina","Laura","Mary","Sarah"]

Definition at line 26 of file rgo2015/challenge_gpsr.py.

◆ pick_location

challenge_gpsr.pick_location

Verbs & shared stuff.

Definition at line 47 of file demo/challenge_gpsr.py.

◆ place_location

challenge_gpsr.place_location

Definition at line 47 of file demo/challenge_gpsr.py.

◆ question_grammar

challenge_gpsr.question_grammar

Definition at line 263 of file rwc2017/challenge_gpsr.py.

◆ question_grammar_target

challenge_gpsr.question_grammar_target

Question grammar.

Definition at line 261 of file rwc2017/challenge_gpsr.py.

◆ result

challenge_gpsr.result = grammar_parser.parse("T", sentence)

Definition at line 210 of file demo/challenge_gpsr.py.

◆ rooms

list challenge_gpsr.rooms = common.rooms + ["entrance", "exit"]

Definition at line 9 of file reo2016/challenge_gpsr.py.

◆ rooms_detailed

challenge_gpsr.rooms_detailed

Definition at line 14 of file rwc2015/challenge_gpsr.py.

◆ sentence

string challenge_gpsr.sentence = " ".join(sys.argv[2:])

Definition at line 204 of file demo/challenge_gpsr.py.

◆ spec

challenge_gpsr.spec = "("+spec_get_deliver+"|"+spec_goroom_findobj+"|"+spec_findperson_talk+")"

Definition at line 38 of file rgo2015/challenge_gpsr.py.

◆ spec_findperson_talk

challenge_gpsr.spec_findperson_talk = "(<2_vb_find> a person in the <1_room> and ((answer a <3_question>)|(<3_vb_speak> <3_name_time_date>)))"

Definition at line 36 of file rgo2015/challenge_gpsr.py.

◆ spec_get_deliver

challenge_gpsr.spec_get_deliver = "(<2_vb_take> the <2_object> from the <1_location> and <3_vb_deliver> it to (<3_person_me>|(the <3_place_location>)|(<3_person> (at|in|(which is in)) the <3_room>)))"

Definition at line 30 of file rgo2015/challenge_gpsr.py.

◆ spec_goroom_findobj

challenge_gpsr.spec_goroom_findobj = "(<1_vb_goto> the <1_room> and <2_vb_find> the <2_object>)"

Definition at line 33 of file rgo2015/challenge_gpsr.py.

◆ spec_questions

challenge_gpsr.spec_questions

Definition at line 5 of file rwc2015/challenge_gpsr.py.

◆ spr

challenge_gpsr.spr

Definition at line 5 of file rgo2019/challenge_gpsr.py.

◆ starting_point

string challenge_gpsr.starting_point = "initial_pose_door_A"

Definition at line 6 of file reo2016/challenge_gpsr.py.

◆ starting_pose

string challenge_gpsr.starting_pose = "gpsr_meeting_point"

Definition at line 14 of file impuls/challenge_gpsr.py.

◆ translations

challenge_gpsr.translations = { "bookcase" : "bocase" }

Definition at line 11 of file reo2016/challenge_gpsr.py.

◆ True

challenge_gpsr.True

Definition at line 47 of file demo/challenge_gpsr.py.