From 2b1300e1a3cacd5fccae341a58aafa46fa7cd640 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Mon, 12 Jun 2017 16:06:21 +0200 Subject: [PATCH] Follow googlecartographer/cartographer_ros#330 (#374) --- cartographer_ros/cartographer_ros/occupancy_grid_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cartographer_ros/cartographer_ros/occupancy_grid_test.cc b/cartographer_ros/cartographer_ros/occupancy_grid_test.cc index 1f2c886..f65e42c 100644 --- a/cartographer_ros/cartographer_ros/occupancy_grid_test.cc +++ b/cartographer_ros/cartographer_ros/occupancy_grid_test.cc @@ -28,7 +28,6 @@ namespace { TEST(OccupancyGridTest, ComputeMapLimits) { using ::cartographer::mapping::TrajectoryNode; - constexpr int kTrajectoryId = 0; const TrajectoryNode trajectory_node{ std::make_shared(TrajectoryNode::Data{ ::cartographer::common::FromUniversal(52), @@ -38,7 +37,7 @@ TEST(OccupancyGridTest, ComputeMapLimits) { {}}, ::cartographer::sensor::Compress(::cartographer::sensor::RangeData{ Eigen::Vector3f::Zero(), {}, {}}), - kTrajectoryId, ::cartographer::transform::Rigid3d::Identity()}), + ::cartographer::transform::Rigid3d::Identity()}), ::cartographer::transform::Rigid3d::Identity()}; constexpr double kResolution = 0.05; const ::cartographer::mapping_2d::MapLimits limits =