Open PlatHum opened 4 weeks ago
You should see a log that Parameter XYZ is not found
, but the callback handles a vector of parameter updates, not just a single parameter update. I agree that perhaps if we ever don't find a parameter, we set successful to false
.
Can you submit a PR that creates a bool
at the start of the method (true), and if a parameter isn't found, we set it to false after the log, and then set result.successful
to our new bool
? I think that should resolve the issue
I see your PR, this can be backported so once its merged into main, I'll autobackport into Humble/Iron/Jazzy
This is one of the first things I played with understanding when getting my head into the mppi code.
Here is a cleaned up patch that helps explain what is happening with the "verbose" parameter that may help shed some clarity. https://github.com/ros-navigation/navigation2/pull/4711
Bug report
Required Info:
Operating System:
ROS2 Version:
Version or commit hash:
DDS implementation:
Steps to reproduce issue
Using
ros2 param set
command to set MPPI parameters triggers a NOT FOUND warning, although the command returns 'Set parameter successful'.Expected behavior
Actual behavior
Additional information
Seems like
parameters_handler
always returns success even though a parameter might not be found.