declare_parameter in v2x_node

This commit is contained in:
Yu Asabe 2021-12-08 20:33:06 +09:00
parent b8b38afdae
commit ac296d2dc9
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ namespace v2x
publisher_ = create_publisher<autoware_perception_msgs::msg::DynamicObjectArray>("/perception/object_recognition/objects", rclcpp::QoS{10});
this->declare_parameter<std::string>("network_interface", "vmnet1");
app = new V2XApp(this);
boost::thread v2xApp(boost::bind(&V2XApp::start, app));