-
Notifications
You must be signed in to change notification settings - Fork 174
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 #437 from garaemon/dynamic-reconfigrue-api
[jsk_interactive_marker/footstep_marker] Add dynamic reconfirue API t…
- Loading branch information
Showing
4 changed files
with
50 additions
and
118 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
20 changes: 20 additions & 0 deletions
20
jsk_interactive_markers/jsk_interactive_marker/cfg/FootstepMarker.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,20 @@ | ||
#!/usr/bin/env python | ||
# set up parameters that we care about | ||
PACKAGE = 'jsk_interactive_marker' | ||
|
||
try: | ||
import imp | ||
imp.find_module(PACKAGE) | ||
from dynamic_reconfigure.parameter_generator_catkin import *; | ||
except: | ||
import roslib; roslib.load_manifest(PACKAGE) | ||
from dynamic_reconfigure.parameter_generator import *; | ||
|
||
from math import pi | ||
|
||
gen = ParameterGenerator () | ||
gen.add("use_projection_service", bool_t, 0, "", False) | ||
gen.add("use_projection_topic", bool_t, 0, "", False) | ||
gen.add("use_plane_snap", bool_t, 0, "", False) | ||
|
||
exit (gen.generate (PACKAGE, "jsk_interactive_marker", "FootstepMarker")) |
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