Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add text to speech #23

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

AiriYokochi
Copy link
Contributor

@AiriYokochi AiriYokochi commented Nov 27, 2023

Summary

音声合成機能の追加をしました

Test

  • gazebo環境で起動した
  • Cube_petitで起動した
cd <workspace>/cube_petit_ros/cube_petit_speech_to_text
catkin bt
source <workspace>/devel/setup.bash
roslaunch cube_petit_text_to_speech cube_petit_text_to_speech.launch

Attention

Comment on lines 7 to 9
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この辺のコメントは消したほうが良いと思います

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

削除しました

# 1Hz
rate = rospy.Rate(10)

# instance_var_name [TODO] param or smtng easy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smtngとはなんでしょう

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

略語(something)です、読めないのとparamだけで十分なので削除します。

rospy.loginfo('Speech failed for some unknown reason')
else:
rospy.loginfo('Robot speech: {}'.format(phrase))
# rospy.sleep(2.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

消して良いと思います

rospy.loginfo('Speech failed for some unknown reason')
else:
rospy.loginfo('Robot speech: {}'.format(phrase))
# rospy.sleep(2.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

消して良いと思います

rospy.loginfo('Speech failed for some unknown reason')
else:
rospy.loginfo('Robot speech: {}'.format(phrase))
# rospy.sleep(2.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

消して良いと思います

<!-- One license tag required, multiple allowed, one license per tag -->
<!-- Commonly used license strings: -->
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 -->
<license>TODO</license>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apache2.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

変更しました

@AiriYokochi AiriYokochi requested a review from nyxrobotics June 4, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants