Skip to content

ParameterVariant constructor with hard coded string gets interpreted as bool #75

Description

@tfoote

rclcpp::parameter::ParameterVariant("bar", std::string("hello")) is intepreted as a string correctly.
rclcpp::parameter::ParameterVariant("bar", "hello") is interpreted as a bool with value true.

From testing in ros2/system_tests#14

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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