Skip to content

Commit

Permalink
Update tasks/gpsr/states/command_similarity_matcher.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Swift <[email protected]>
  • Loading branch information
m-barker and jws-1 authored Apr 23, 2024
1 parent 42f0411 commit 7591641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/gpsr/states/command_similarity_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def execute(self, userdata):
request.index_paths = self._index_paths
request.query_sentence = userdata.command
request.k = 1
request.vecs_per_txt_file = userdata.n_vecs_per_txt_file
request.vecs_per_txt_file = self._n_vecs_per_txt_file
response = self._query_service(request)
userdata.matched_command = response.closest_sentences[0]
rospy.loginfo(f"Matched command: {response.closest_sentences[0]}")
Expand Down

0 comments on commit 7591641

Please sign in to comment.