diff --git a/cartographer_ros/cartographer_ros/map_builder_bridge.cc b/cartographer_ros/cartographer_ros/map_builder_bridge.cc index f58cdfd..4447e4f 100644 --- a/cartographer_ros/cartographer_ros/map_builder_bridge.cc +++ b/cartographer_ros/cartographer_ros/map_builder_bridge.cc @@ -26,7 +26,7 @@ namespace cartographer_ros { MapBuilderBridge::MapBuilderBridge(const NodeOptions& options, tf2_ros::Buffer* const tf_buffer) : options_(options), - map_builder_(options.map_builder_options, &constant_data_), + map_builder_(options.map_builder_options), tf_buffer_(tf_buffer) {} int MapBuilderBridge::AddTrajectory( diff --git a/cartographer_ros/cartographer_ros/map_builder_bridge.h b/cartographer_ros/cartographer_ros/map_builder_bridge.h index 8b9bc3b..a11c91f 100644 --- a/cartographer_ros/cartographer_ros/map_builder_bridge.h +++ b/cartographer_ros/cartographer_ros/map_builder_bridge.h @@ -64,8 +64,6 @@ class MapBuilderBridge { private: const NodeOptions options_; - std::deque - constant_data_; cartographer::mapping::MapBuilder map_builder_; tf2_ros::Buffer* const tf_buffer_; std::unordered_map> sensor_bridges_;