Skip to content

Commit

Permalink
Merge commit '5f3ab4b6' into qualification2
Browse files Browse the repository at this point in the history
  • Loading branch information
jws-1 committed Feb 9, 2024
2 parents 4bb8a9c + 5f3ab4b commit 7b7068e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class TranscribeSpeechAction(object):
self._model_params.warmup,
)
# Configure the speech recogniser object and adjust for ambient noise
self.recogniser = self._configure_recogniser(ambient_adj=False)
self.recogniser = self._configure_recogniser(ambient_adj=True)
# Setup the action server and register execution callback
self._action_server = actionlib.SimpleActionServer(
self._action_name,
Expand Down
1 change: 0 additions & 1 deletion tasks/qualification/nodes/actions/guide
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ class Guide:
f"{goal.guidee}, could you please get the door for me?"
)
self.tts.send_goal_and_wait(tts_goal)
# TODO: check if the door is open using CLIP
door_closed = self.check_for_door()
counter = 1
while door_closed:
Expand Down
5 changes: 5 additions & 0 deletions tasks/qualification/nodes/better_qualification
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ point.positions = [0.15]
point.time_from_start = rospy.Duration(1)
torso_lower_goal.trajectory.points.append(point)

tts_goal = TtsGoal()
tts_goal.rawtext.lang_id = "en_GB"
tts_goal.rawtext.text = "Begin"
tts.send_goal_and_wait(tts_goal)


def exec_command(command):
torso_controller.send_goal_and_wait(torso_lower_goal)
Expand Down

0 comments on commit 7b7068e

Please sign in to comment.