-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR added commits related to smach_to_mail.py that is in develop/…
…fetch branch (#1884) * [jsk_robot_startup] Add timeout for smach notification * [jsk_robot_startup] Refactor error handling in getting rosparam * Fix sending notification every times if demo stuck and refactor _stop_timer_cb * Fix unintended smach notification when demo fails * [jsk_robot_startup] Use checking node status for timeout * [jsk_robot_startup] Support dynamic reconfigure in smach_to_mail to send google chat for every state transition * Update jsk_robot_common/jsk_robot_startup/scripts/smach_to_mail.py Co-authored-by: Naoto Tsukamoto <[email protected]> --------- Co-authored-by: Naoto Tsukamoto <[email protected]>
- Loading branch information
1 parent
6caf38c
commit ddf454d
Showing
3 changed files
with
77 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
jsk_robot_common/jsk_robot_startup/cfg/SmachNotificationReconfigure.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env python | ||
|
||
from dynamic_reconfigure.parameter_generator_catkin import * | ||
|
||
PKG = "jsk_robot_startup" | ||
|
||
gen = ParameterGenerator() | ||
|
||
gen.add("send_every_transition", bool_t, 0, "Send notification every transition", False) | ||
gen.add("use_mail", bool_t, 0, "Use mail for smach notification", True) | ||
gen.add("use_twitter", bool_t, 0, "Use twitter for smach notification", True) | ||
gen.add("use_google_chat", bool_t, 0, "Use google chat for smach notification", True) | ||
|
||
exit(gen.generate(PKG, PKG, "SmachNotificationReconfigure")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters