-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from iory/pr1040-audible-warning
- Loading branch information
Showing
12 changed files
with
292 additions
and
32 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
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
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,26 @@ | ||
#! /usr/bin/env python | ||
|
||
|
||
from dynamic_reconfigure.parameter_generator_catkin import * | ||
|
||
PACKAGE = 'jsk_tools' | ||
|
||
gen = ParameterGenerator() | ||
speak_group = gen.add_group("speak flag") | ||
speak_group.add("enable", bool_t, 0, "Flag of speak", True) | ||
speak_group.add("speak_ok", bool_t, 0, "Speak ok level diagnostics", False) | ||
speak_group.add("speak_stale", bool_t, 0, "Speak stale level diagnostics", True) | ||
speak_group.add("speak_warn", bool_t, 0, "Speak warn level diagnostics", True) | ||
speak_group.add("speak_error", bool_t, 0, "Speak error level diagnostics", True) | ||
speak_group.add("speak_when_runstopped", bool_t, 0, "Speak when runstop is enabled", True) | ||
|
||
gen.add("volume", double_t, 0, "Volume of sound.", 1.0, 0.0, 1.0) | ||
gen.add("speak_interval", double_t, 0, "Volume of sound.", 120.0, 0.0, 3600.0) | ||
gen.add("ignore_time_after_runstop_is_enabled", double_t, 0, | ||
"Time to ignore diagnostics after runstop is enabled.", | ||
0.0, 0.0, 3600.0) | ||
gen.add("ignore_time_after_runstop_is_disabled", double_t, 0, | ||
"Time to ignore diagnostics after runstop is disabled.", | ||
0.0, 0.0, 3600.0) | ||
|
||
exit(gen.generate(PACKAGE, PACKAGE, "AudibleWarning")) |
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
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
Oops, something went wrong.