Skip to content
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

[develop/pr2] Add nodes to adjust the volume of the speaking #1745

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion jsk_robot_common/jsk_robot_startup/apps/robot_apps.installed
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
apps:
- app: jsk_robot_startup/personal_use
display: Personal use
display: Personal use
- app: jsk_robot_startup/check_use_sim_time
display: Check /use_sim_time param
- app: jsk_robot_startup/roseus_resume_interrupt
display: Interrupt
- app: jsk_robot_startup/roseus_resume_resume
display: Resume
- app: jsk_robot_startup/volume_lower
display: Volume lower
- app: jsk_robot_startup/volume_reset
display: Volume reset
- app: jsk_robot_startup/volume_zero
display: Volume zero
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: Volume Lower
description: robot speaks lower volume
platform: all
run: jsk_robot_startup/auto_speak_volume_lower.l
interface: jsk_robot_startup/volume_lower.interface
icon: jsk_robot_startup/volume_lower.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
published_topics: {}
subscribed_topics: {}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: Volume Reset
description: robot speaks reset volume
platform: all
run: jsk_robot_startup/auto_speak_volume_reset.l
interface: jsk_robot_startup/volume_reset.interface
icon: jsk_robot_startup/volume_reset.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
published_topics: {}
subscribed_topics: {}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: Volume Zero
description: robot speaks zero volume
platform: all
run: jsk_robot_startup/auto_speak_volume_zero.l
interface: jsk_robot_startup/volume_zero.interface
icon: jsk_robot_startup/volume_zero.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
published_topics: {}
subscribed_topics: {}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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)
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)
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)