The getParam method used to return true only when the parameter was actually set. And the current docstring still states that.
But in the ros2 branch the implementation defines a default parameter so it is always set, which breaks the previous behavior and documentation.
Instead there should be no default value set and the parameter getter should check for ParameterType::PARAMETER_NOT_SET.
The getParam method used to return true only when the parameter was actually set. And the current docstring still states that.
But in the ros2 branch the implementation defines a default parameter so it is always set, which breaks the previous behavior and documentation.
Instead there should be no default value set and the parameter getter should check for ParameterType::PARAMETER_NOT_SET.