-
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.
Add nodes to adjust the volume of the speaking
- Loading branch information
1 parent
ac80fed
commit c1be29b
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_warning/pr2_speak_volume_lower.l
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,9 @@ | ||
#!/usr/bin/env roseus | ||
|
||
(ros::roseus "speak_volume_lower") | ||
(ros::set-dynamic-reconfigure-param "/audible_warning" "volume" :double 0.2) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_tablet" "volume" :double 0.2) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_uptime" "volume" :double 0.2) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_warning" "volume" :double 0.2) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_worktime" "volume" :double 0.2) | ||
(exit) |
9 changes: 9 additions & 0 deletions
9
jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_warning/pr2_speak_volume_reset.l
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,9 @@ | ||
#!/usr/bin/env roseus | ||
|
||
(ros::roseus "speak_volume_reset") | ||
(ros::set-dynamic-reconfigure-param "/audible_warning" "volume" :double 1.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_tablet" "volume" :double 1.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_uptime" "volume" :double 1.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_warning" "volume" :double 1.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_worktime" "volume" :double 1.0) | ||
(exit) |
9 changes: 9 additions & 0 deletions
9
jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_warning/pr2_speak_volume_zero.l
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,9 @@ | ||
#!/usr/bin/env roseus | ||
|
||
(ros::roseus "speak_volume_zero") | ||
(ros::set-dynamic-reconfigure-param "/audible_warning" "volume" :double 0.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_tablet" "volume" :double 0.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_uptime" "volume" :double 0.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_warning" "volume" :double 0.0) | ||
(ros::set-dynamic-reconfigure-param "/tweet_client_worktime" "volume" :double 0.0) | ||
(exit) |