Remove conversion of bool values to strings for ParameterType.PARAMETER_BOOL and ParameterType.PARAMETER_BOOL_ARRAY in Parameter.toParameterMessage(). The rclcpp methods Parameter::as_bool() and Parameter::as_bool_array() do not convert these messages correctly if they contain bools as strings.
Public API Changes
None
Description
Remove conversion of bool values to strings for
ParameterType.PARAMETER_BOOL
andParameterType.PARAMETER_BOOL_ARRAY
inParameter.toParameterMessage()
. The rclcpp methodsParameter::as_bool()
andParameter::as_bool_array()
do not convert these messages correctly if they contain bools as strings.fixes: 850