Skip to content

Commit

Permalink
add python3_env for PyCharm development, remove google_tts
Browse files Browse the repository at this point in the history
  • Loading branch information
culdo committed Dec 17, 2022
1 parent 59a068a commit dd4abea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions python3_env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash -i

/usr/bin/python3 "$@"
2 changes: 0 additions & 2 deletions src/python_op3/framework/core/robotis_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ def check_module(self, module, voice=None, is_blocking=True):
rospy.sleep(0.1)
self.present_module = module
print("Set " + module + " done.")
if voice:
self.google_tts(voice)
else:
print(module + " already in use!!!")

Expand Down
4 changes: 0 additions & 4 deletions src/python_op3/framework/modules/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def play_motion(self, action, start_voice="好哦", done_voice=None, is_blocking
return
self.is_action_done = False

if start_voice:
self.google_tts(start_voice)

if action == "ini_pose":
self._pub_ini_pose.publish(action)
Expand All @@ -67,8 +65,6 @@ def play_motion(self, action, start_voice="好哦", done_voice=None, is_blocking
if is_blocking:
while not self.is_action_done:
rospy.sleep(0.1)
if done_voice:
self.google_tts(done_voice)

def go_init_pose(self, start_voice="進入賢者模式。"):
if self.present_module != "ini_pose":
Expand Down

0 comments on commit dd4abea

Please sign in to comment.