Skip to content

Commit

Permalink
ConstantData is now owned by the SPG. (cartographer-project#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirVer authored and wohe committed May 8, 2017
1 parent 1d256ad commit 5294050
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cartographer_ros/cartographer_ros/map_builder_bridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 0 additions & 2 deletions cartographer_ros/cartographer_ros/map_builder_bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ class MapBuilderBridge {
private:
const NodeOptions options_;

std::deque<cartographer::mapping::TrajectoryNode::ConstantData>
constant_data_;
cartographer::mapping::MapBuilder map_builder_;
tf2_ros::Buffer* const tf_buffer_;
std::unordered_map<int, std::unique_ptr<SensorBridge>> sensor_bridges_;
Expand Down

0 comments on commit 5294050

Please sign in to comment.