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

[old] [develop/pr2] Add nodes to adjust the volume of the auto speaking #1744

Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: Fetch Volume Lower
description: Fetch speaks lower volume
platform: fetch
run: jsk_robot_startup/auto_speak_volume_lower.l
interface: jsk_fetch_startup/volume_lower.interface
icon: jsk_fetch_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,3 @@
<launch>
<node name="run_volume_lower" pkg="jsk_robot_startup" type="auto_speak_volume_lower.l" />
</launch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: Fetch Volume Reset
description: Fetch speaks reset volume
platform: fetch
run: jsk_robot_startup/auto_speak_volume_reset.l
interface: jsk_fetch_startup/volume_reset.interface
icon: jsk_fetch_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,3 @@
<launch>
<node name="run_volume_lower" pkg="jsk_robot_startup" type="auto_speak_volume_reset.l" />
</launch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: Fetch Volume Zero
description: Fetch speaks zero volume
platform: fetch
run: jsk_robot_startup/auto_speak_volume_zero.l
interface: jsk_fetch_startup/volume_zero.interface
icon: jsk_fetch_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,3 @@
<launch>
<node name="run_volume_lower" pkg="jsk_robot_startup" type="auto_speak_volume_zero.l" />
</launch>
6 changes: 6 additions & 0 deletions jsk_pr2_robot/jsk_pr2_startup/apps/pr2_apps.installed
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ apps:
display: PR2 hello world
- app: jsk_pr2_startup/tweet
display: PR2 tweet
- app: jsk_pr2_startup/volume_lower
display: PR2 volume_lower
- app: jsk_pr2_startup/volume_reset
display: PR2 volume_reset
- app: jsk_pr2_startup/volume_zero
display: PR2 volume_zero
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
display: PR2 Volume Lower
description: PR2 speaks lower volume
platform: pr2
run: jsk_robot_startup/auto_speak_volume_lower.l
interface: jsk_pr2_startup/volume_lower.interface
icon: jsk_pr2_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: PR2 Volume Reset
description: PR2 speaks reset volume
platform: pr2
run: jsk_robot_startup/auto_speak_volume_reset.l
interface: jsk_pr2_startup/volume_reset.interface
icon: jsk_pr2_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: PR2 Volume Zero
description: PR2 speaks zero volume
platform: pr2
run: jsk_robot_startup/auto_speak_volume_zero.l
interface: jsk_pr2_startup/volume_zero.interface
icon: jsk_pr2_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)