From ac296d2dc9a31820913229caff148feb8eb3cb7e Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Wed, 8 Dec 2021 20:33:06 +0900 Subject: [PATCH] declare_parameter in v2x_node --- src/v2x_node.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v2x_node.cpp b/src/v2x_node.cpp index 59254a9..e44aed2 100644 --- a/src/v2x_node.cpp +++ b/src/v2x_node.cpp @@ -34,6 +34,8 @@ namespace v2x publisher_ = create_publisher("/perception/object_recognition/objects", rclcpp::QoS{10}); + this->declare_parameter("network_interface", "vmnet1"); + app = new V2XApp(this); boost::thread v2xApp(boost::bind(&V2XApp::start, app));