Skip to content

Bug: getParam returns true even if parameter was not set #92

Description

@patrick-spieler-jpl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions