-
Notifications
You must be signed in to change notification settings - Fork 97
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
Smach to email/twitter #1558
Smach to email/twitter #1558
Conversation
…ion to 640, use DESCRIPTION of START node as mail subject, warn if we received status without START node
I am sorry for late for send PR. This PR is related to knorth55#303 and more feature. |
flowchart TB
subgraph S[Demo Code Running on SMACH]
START --> State_1
State_1 --> State_2
State_2 --> END
end
subgraph E[SMACH To Notification]
id1[(state list<br>DESCRIPTION / IMAGE<br>DESCRIPTION / IMAGE<br>...)]
id1 --> email[[pub /email jsk_robot_startup::Email]]
id1 --> tweet[[pub /tweet std_msgs::String]]
end
S -->|"[{'DESCRIPTION': string, 'IMAGE': base64}]"| E
email --> email_body(["DESCRIPTION[0]<br>DESCRIPTION[1]<br>IMAGE[1]<br>DESCRIPTION[1]<br>IMAGE[1]<br>..."])
tweet --> tweet_body1(["DESCRIPTION[0]"])
tweet_body1 --> tweet_body2(["DESCRIPTION[1]<br>IMAGE[1]"])
tweet_body2 --> tweet_body3(["DESCRIPTION[2]<br>IMAGE[2]"])
|
okay, I'll do it tonight |
@tkmtnt7000, please split knorth55#303 into smach-kitchen-demo and smach-to-email, and if you find something to add here, please create PR, for example knorth55@8bb35d4, knorth55@c2c0b04 and more? |
…ress from rosparam
[jsk_robot_startup] Fix dependent on linter and support Python3
Sorry for being late, please check k-okada#72 |
[jsk_robot_startup] Add Readme for smach_to_mail.py
note: we may remove |
[jsk_robot_startup/smach_to_mail] Set sender address and receiver address from rosparam
add
jsk_robot_startup/scripts/smach_to_mail.py
which sends smach message to/email
,/tweet
, etc...based on @tkmtnt7000 's code k-okada#60 (comment)
This PR depends on jsk-ros-pkg/jsk_3rdparty#371
example SMACH examples can be found at #1528
@mqcmd196 Can you add
_send_google_chat
function to this program ?