Skip to content

Commit f01afef

Browse files
committed
Vector of strings need quotes
1 parent 6495e90 commit f01afef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

socketcan_adapter_ros/src/socketcan_bridge_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SocketcanBridgeNode::SocketcanBridgeNode(const rclcpp::NodeOptions & options)
3232
{
3333
declare_parameter("can_interface", std::string("can0"));
3434
declare_parameter("can_error_mask", static_cast<int32_t>(CAN_ERR_MASK));
35-
declare_parameter("can_filter_list", std::vector<std::string>{'0:0'}); // vector of strings
35+
declare_parameter("can_filter_list", std::vector<std::string>{"0:0"}); // vector of strings
3636
declare_parameter("join_filters", false);
3737
declare_parameter("receive_timeout_s", SOCKET_RECEIVE_TIMEOUT_S.count());
3838
}

0 commit comments

Comments
 (0)