Follow googlecartographer/cartographer_ros#330 (#374)

master
Holger Rapp 2017-06-12 16:06:21 +02:00 committed by GitHub
parent 8d8cc09f80
commit 2b1300e1a3
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ namespace {
TEST(OccupancyGridTest, ComputeMapLimits) { TEST(OccupancyGridTest, ComputeMapLimits) {
using ::cartographer::mapping::TrajectoryNode; using ::cartographer::mapping::TrajectoryNode;
constexpr int kTrajectoryId = 0;
const TrajectoryNode trajectory_node{ const TrajectoryNode trajectory_node{
std::make_shared<TrajectoryNode::Data>(TrajectoryNode::Data{ std::make_shared<TrajectoryNode::Data>(TrajectoryNode::Data{
::cartographer::common::FromUniversal(52), ::cartographer::common::FromUniversal(52),
@ -38,7 +37,7 @@ TEST(OccupancyGridTest, ComputeMapLimits) {
{}}, {}},
::cartographer::sensor::Compress(::cartographer::sensor::RangeData{ ::cartographer::sensor::Compress(::cartographer::sensor::RangeData{
Eigen::Vector3f::Zero(), {}, {}}), Eigen::Vector3f::Zero(), {}, {}}),
kTrajectoryId, ::cartographer::transform::Rigid3d::Identity()}), ::cartographer::transform::Rigid3d::Identity()}),
::cartographer::transform::Rigid3d::Identity()}; ::cartographer::transform::Rigid3d::Identity()};
constexpr double kResolution = 0.05; constexpr double kResolution = 0.05;
const ::cartographer::mapping_2d::MapLimits limits = const ::cartographer::mapping_2d::MapLimits limits =