diff --git a/tasks/gpsr/states/command_similarity_matcher.py b/tasks/gpsr/states/command_similarity_matcher.py index 771a9cd52..3982f9f67 100755 --- a/tasks/gpsr/states/command_similarity_matcher.py +++ b/tasks/gpsr/states/command_similarity_matcher.py @@ -52,7 +52,6 @@ def execute(self, userdata): sm = smach.StateMachine(outcomes=["succeeded", "failed"]) with sm: sm.userdata.tts_phrase = "Please tell me your command." - sm.userdata.n_vecs_per_txt_file = [1177943] * 10 # smach.StateMachine.add( # "ASK_FOR_COMMAND", # AskAndListen(), @@ -71,7 +70,7 @@ def execute(self, userdata): ) sm.add( "COMMAND_SIMILARITY_MATCHER", - CommandSimilarityMatcher(), + CommandSimilarityMatcher([1177943] * 10), transitions={"succeeded": "LISTEN"}, ) # smach.StateMachine.add(