diff --git a/cartographer_ros/cartographer_ros/node.h b/cartographer_ros/cartographer_ros/node.h index 7282dd5..62eb6f9 100644 --- a/cartographer_ros/cartographer_ros/node.h +++ b/cartographer_ros/cartographer_ros/node.h @@ -179,6 +179,7 @@ class Node { tf2_ros::TransformBroadcaster tf_broadcaster_; absl::Mutex mutex_; + std::unique_ptr metrics_registry_; MapBuilderBridge map_builder_bridge_ GUARDED_BY(mutex_); ::ros::NodeHandle node_handle_; @@ -225,8 +226,6 @@ class Node { // simulation time is standing still. This prevents overflowing the transform // listener buffer by publishing the same transforms over and over again. ::ros::Timer publish_local_trajectory_data_timer_; - - std::unique_ptr metrics_registry_; }; } // namespace cartographer_ros