-
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.
[jsk_robot_startup] Support dynamic reconfigure in smach_to_mail to s…
…end google chat for every state transition
- Loading branch information
Showing
3 changed files
with
41 additions
and
6 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