robocup_knowledge
Variables
challenge_eegpsr Namespace Reference

Variables

 common = knowledge_loader.load_knowledge("common")
 
string exit_waypoint = "exit_door_B1"
 
string follow_action = "follow", {"location-from": {""}, "location-to": {}, "target": {}}
 Demo. More...
 
string grammar
 Actions. More...
 
 grammar_parser = CFGParser.fromstring(obj_grammar)
 
string grammar_target = "T"
 
string initial_pose = "initial_pose_door_B"
 
string loc_grammar
 ANSWER QUESTION. More...
 
list not_understood_sentences
 
string obj_grammar
 
 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"]
 
string sentence = " ".join(sys.argv[2:])
 
string starting_pose = "eegpsr_starting_pose"
 
dictionary translations = { "bookcase" : "bocase" }
 
 True
 

Variable Documentation

◆ common

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

Definition at line 3 of file reo2016/challenge_eegpsr.py.

◆ exit_waypoint

string challenge_eegpsr.exit_waypoint = "exit_door_B1"

Definition at line 7 of file reo2016/challenge_eegpsr.py.

◆ follow_action

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

Demo.

FIND Navigate Inspect Pick-up Place Follow BRING SAY

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

◆ grammar

challenge_eegpsr.grammar
Initial value:
1 = """
2 T[A] -> C[A]
3 
4 C[{"actions": <A1>}] -> VP[A1]
5 C[{"actions": <A1, A2>}] -> VP[A1] and VP[A2]
6 C[{"actions": <A1, A2, A3>}] -> VP[A1] VP[A2] and VP[A3]
7 """

Actions.

Definition at line 25 of file rgo2018/challenge_eegpsr.py.

◆ grammar_parser

challenge_eegpsr.grammar_parser = CFGParser.fromstring(obj_grammar)

Definition at line 319 of file rgo2018/challenge_eegpsr.py.

◆ grammar_target

challenge_eegpsr.grammar_target = "T"

Definition at line 17 of file rgo2018/challenge_eegpsr.py.

◆ initial_pose

string challenge_eegpsr.initial_pose = "initial_pose_door_B"

Definition at line 5 of file reo2016/challenge_eegpsr.py.

◆ loc_grammar

string challenge_eegpsr.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 ROOM_OR_LOCATION[X] | in the ROOM_OR_LOCATION[X] | you could find HE_SHE in the ROOM_OR_LOCATION[X]
6 """

ANSWER QUESTION.

FIND OUT AND REPORT INCOMPLETE QUESTIONS

Definition at line 300 of file rgo2018/challenge_eegpsr.py.

◆ not_understood_sentences

challenge_eegpsr.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 rgo2018/challenge_eegpsr.py.

◆ obj_grammar

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

Definition at line 307 of file rgo2018/challenge_eegpsr.py.

◆ pick_location

challenge_eegpsr.pick_location

Verbs & shared stuff.

Definition at line 61 of file rgo2018/challenge_eegpsr.py.

◆ place_location

challenge_eegpsr.place_location

Definition at line 61 of file rgo2018/challenge_eegpsr.py.

◆ question_grammar

challenge_eegpsr.question_grammar

Definition at line 264 of file rwc2017/challenge_eegpsr.py.

◆ question_grammar_target

challenge_eegpsr.question_grammar_target

Question grammar.

Definition at line 262 of file rwc2017/challenge_eegpsr.py.

◆ result

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

Definition at line 332 of file rgo2018/challenge_eegpsr.py.

◆ rooms

challenge_eegpsr.rooms = common.rooms + ["entrance", "exit"]

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

◆ sentence

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

Definition at line 326 of file rgo2018/challenge_eegpsr.py.

◆ starting_pose

string challenge_eegpsr.starting_pose = "eegpsr_starting_pose"

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

◆ translations

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

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

◆ True

challenge_eegpsr.True

Definition at line 61 of file rgo2018/challenge_eegpsr.py.