-
Notifications
You must be signed in to change notification settings - Fork 486
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
Fix parameter name & Fix exception about parameter type #461
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've read the code and left a small question, otherwise looks good to me!
Codecov Report
@@ Coverage Diff @@
## main #461 +/- ##
==========================================
- Coverage 52.01% 51.43% -0.57%
==========================================
Files 223 223
Lines 23340 23339 -1
==========================================
- Hits 12137 12002 -135
- Misses 11203 11337 +134
Continue to review full report at Codecov.
|
Is a good way to test this to start one of the demos and check that |
With this PR I ran the moveit_cpp demo then listed parameters like this:
So it seems like the parameters weren't loaded? Maybe they are not supposed to be loaded for this particular demo? |
We use this ompl_planning.yaml file for loading the OMPL configs, could you try updating it to have one of these parameters |
@JafarAbdi I went ahead and added those parameters. It looks good EXCEPT
So I guess something is not quite working. |
Currently, if there's a type mismatch it will only print an error, did you get any error about that .? Also, these parameters have to be loaded under the group namespace similar to planner_configs |
OK, that looks good. (Consider putting test instructions in the PR description next time) |
I'll leave it to you to squash and merge |
* fixed list in tutorial * added controller tutorial * fixed formatting * fixed title formatting * fixed explicit reference * removed placeholder text * formatting changes and added drawio link * Update doc/tutorials/controller_teleoperation/controller_teleoperation.rst Co-authored-by: AndyZe <andyz@utexas.edu> * Update doc/tutorials/controller_teleoperation/controller_teleoperation.rst Co-authored-by: AndyZe <andyz@utexas.edu> * Update doc/tutorials/controller_teleoperation/controller_teleoperation.rst Co-authored-by: AndyZe <andyz@utexas.edu> * Update doc/tutorials/controller_teleoperation/controller_teleoperation.rst Co-authored-by: AndyZe <andyz@utexas.edu> * controller -> gamepad * moved to how-to guides * changed prerequisites section and changed one final occurrence of "controller" * updated title for clarity * modified TOC tree Co-authored-by: AndyZe <andyz@utexas.edu>
Description
Previously the following parameters were not being loaded at all
projection_evaluator
longest_valid_segment_fraction
enforce_joint_model_state_space
enforce_constrained_state_space
This PR
1- Fix the parameter prefix
2- Fix the exception being throw by calling
node_->get_parameter(param_name, ...)
due to types mismatchChecklist