Skip to content

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

@tfoote

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

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