-
Notifications
You must be signed in to change notification settings - Fork 3
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
[jsk_unitree_startup] Send Unitree-launch-email #24
base: unitree
Are you sure you want to change the base?
Conversation
@a-ichikuraに伺ったところ,豆知識を表示するだけではネットニュースのような無機質な感じがしたということで,ロボット側から意思を持って返事している感じが出るといいのかなと思いました. こんな感じでその日の天気を拾ってきて,まずは手軽にif文で天気に応じてそれっぽい返事をするようにしました. |
if "晴" in weather: | ||
forecast_tuple = ( | ||
'日差しに気をつけて。', | ||
'お散歩しよう!', | ||
) | ||
elif "雨" in weather: | ||
forecast_tuple = ( | ||
'部屋の中で遊ぼう!', | ||
'傘忘れていない?', | ||
) | ||
elif "雲" or "曇" or "くもり" in weather: | ||
forecast_tuple = ( | ||
'晴れたらいいな', | ||
) | ||
elif "雪" in weather: | ||
forecast_tuple = ( | ||
'雪合戦しよう!', | ||
'寒さに気をつけて', | ||
) | ||
else: | ||
forecast_tuple = (' ') | ||
forecast_text += random.choice(forecast_tuple) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@a-ichikura
こんな感じで適当な言葉を追加してあるので,思いついたら色々と追加していただけると嬉しいです.
Cc:@MiyabiTane |
@tkmtnt7000 add |
amazing! |
【update】unitreeのメールに星座占いを追加
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- please swtich to existing ros node to send email [jsk_robot_startup] Support embed image in email_topic.py jsk-ros-pkg/jsk_robot#1485
- I think we could use go1's autostart process to send email, add wakeup scripts #32, or run in
unitree_bringup.launch
add autostart process for go1 robot #34 process.
Sorry for late response. I'll do that. |
…obot into PR-email-when-launching
Use email_topic.py and use autostart program
|
4fc7796
to
2ee9f4b
Compare
duplicates of #65 ??? |
This PR enables unitree to send email when robot launches.
Tidbits are added to make the email more user-friendly.
cc:@iory