diff --git a/map/map_tf_generator/src/pcd_map_tf_generator_node.cpp b/map/map_tf_generator/src/pcd_map_tf_generator_node.cpp index 9a31cb5f76aaf..d4b8ccb797224 100644 --- a/map/map_tf_generator/src/pcd_map_tf_generator_node.cpp +++ b/map/map_tf_generator/src/pcd_map_tf_generator_node.cpp @@ -35,7 +35,8 @@ class PcdMapTFGeneratorNode : public rclcpp::Node public: using PointCloud = pcl::PointCloud; explicit PcdMapTFGeneratorNode(const rclcpp::NodeOptions & options) - : Node("pcd_map_tf_generator", options), map_frame_(declare_parameter("map_frame")), + : Node("pcd_map_tf_generator", options), + map_frame_(declare_parameter("map_frame")), viewer_frame_(declare_parameter("viewer_frame")) { sub_ = create_subscription(