Formatting fixes. (#130)

master
Wolfgang Hess 2016-11-17 15:46:29 +01:00 committed by GitHub
parent 03c8e8d195
commit 8f58efe79b
4 changed files with 15 additions and 15 deletions

View File

@ -32,7 +32,8 @@ namespace cartographer {
namespace io { namespace io {
template <typename PointsProcessorType> template <typename PointsProcessorType>
void RegisterPlainPointsProcessor(PointsProcessorPipelineBuilder* const builder) { void RegisterPlainPointsProcessor(
PointsProcessorPipelineBuilder* const builder) {
builder->Register( builder->Register(
PointsProcessorType::kConfigurationFileActionName, PointsProcessorType::kConfigurationFileActionName,
[](common::LuaParameterDictionary* const dictionary, [](common::LuaParameterDictionary* const dictionary,

View File

@ -99,8 +99,7 @@ sensor::LaserFan LocalTrajectoryBuilder::TransformAndFilterLaserFan(
sensor::TransformLaserFan(returns_and_misses, tracking_to_tracking_2d), sensor::TransformLaserFan(returns_and_misses, tracking_to_tracking_2d),
options_.laser_min_z(), options_.laser_max_z()); options_.laser_min_z(), options_.laser_max_z());
return sensor::LaserFan{ return sensor::LaserFan{
cropped.origin, cropped.origin, sensor::VoxelFiltered(cropped.returns,
sensor::VoxelFiltered(cropped.returns,
options_.laser_voxel_filter_size()), options_.laser_voxel_filter_size()),
sensor::VoxelFiltered(cropped.misses, sensor::VoxelFiltered(cropped.misses,
options_.laser_voxel_filter_size())}; options_.laser_voxel_filter_size())};

View File

@ -161,8 +161,8 @@ class OrderedMultiQueue {
// common start time has been reached. // common start time has been reached.
if (common_start_time_ == common::Time::min()) { if (common_start_time_ == common::Time::min()) {
for (auto& entry : queues_) { for (auto& entry : queues_) {
common_start_time_ = common_start_time_ = std::max(common_start_time_,
std::max(common_start_time_, entry.second.queue.Peek<Data>()->time); entry.second.queue.Peek<Data>()->time);
} }
LOG(INFO) << "All sensor data is available starting at '" LOG(INFO) << "All sensor data is available starting at '"
<< common_start_time_ << "'."; << common_start_time_ << "'.";