From 2218c08d15386637bea17c525ac1688dff85e1b8 Mon Sep 17 00:00:00 2001 From: Matt Barker <105945282+m-barker@users.noreply.github.com> Date: Tue, 23 Apr 2024 10:35:27 +0100 Subject: [PATCH] Update tasks/gpsr/states/command_similarity_matcher.py Co-authored-by: Jared Swift --- tasks/gpsr/states/command_similarity_matcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(