-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added dynamic reconfigure for yocs pose controller
- Loading branch information
1 parent
e598b38
commit b5dace8
Showing
2 changed files
with
21 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env python | ||
|
||
from dynamic_reconfigure.parameter_generator_catkin import * | ||
|
||
gen = ParameterGenerator() | ||
|
||
gen.add("v_min", double_t, 0, "min linear vel", 0.01, 0, 1.00) | ||
gen.add("v_max", double_t, 0, "max linear vel", 0.15, 0, 1.00) | ||
gen.add("w_max", double_t, 0, "max ang vel rad/s", 0.526, 0, 1.00) | ||
gen.add("k_1", double_t, 0, "k_1 factor ", 1.0, 0, 100) | ||
gen.add("k_2", double_t, 0, "k_2 factor ", 10.0, 0, 100) | ||
gen.add("beta", double_t, 0, "beta factor ", 0.2, 0, 100) | ||
gen.add("lambda", double_t, 0, "lamda factor ", 2.0, 0, 100) | ||
gen.add("dist_thres", double_t, 0, "distance threshold ", 0.05, 0, 100) | ||
gen.add("orient_thres", double_t, 0, "orientation threshold ", 0.0175, 0, 100) | ||
gen.add("dist_eps", double_t, 0, "distance epsilon ", 0.025, 0, 100) | ||
gen.add("orient_eps", double_t, 0, "orientation epsilon ", 0.00872664625995, 0, 100) | ||
|
||
exit(gen.generate("yocs_msgs", "yocs_msgs", "PoseController")) |