-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purge 'mapping_2d::'. #927
Conversation
@@ -48,7 +48,7 @@ class GlobalTrajectoryBuilder : public mapping::TrajectoryBuilderInterface { | |||
const std::string& sensor_id, | |||
const sensor::TimedPointCloudData& timed_point_cloud_data) override { | |||
CHECK(local_trajectory_builder_) | |||
<< "Cannot add TimedPointCloudData without a LocalTrajectoryBuilder."; | |||
<< "Cannot add TimedPointCloudData without a LocalTrajectoryBuilder2D."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LocalTrajectoryBuilder2D/3D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -17,7 +17,7 @@ | |||
#include "cartographer/mapping_3d/local_trajectory_builder_options_3d.h" | |||
|
|||
#include "cartographer/internal/mapping/motion_filter.h" | |||
#include "cartographer/mapping_2d/scan_matching/real_time_correlative_scan_matcher.h" | |||
#include "cartographer/mapping_2d/scan_matching/real_time_correlative_scan_matcher_2d.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mapping_3d includes 2d?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, moved to a separate file.
@@ -44,23 +45,23 @@ class TranslationDeltaCostFunctor { | |||
private: | |||
// Constructs a new TranslationDeltaCostFunctor from the given |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TranslationDeltaCostFunctor2D
public: | ||
using Constraint = mapping::PoseGraph::Constraint; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After removing 'mapping::' from this typedef, there seems to be no reason to keep it at all. Inlined it.
@@ -107,7 +107,7 @@ class TrajectoryBuilderInterface { | |||
const sensor::LandmarkData& landmark_data) = 0; | |||
// Allows to directly add local SLAM results to the 'PoseGraph'. Note that it | |||
// is invalid to add local SLAM results for a trajectory that has a | |||
// 'LocalTrajectoryBuilder'. | |||
// 'LocalTrajectoryBuilder2D'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2D or 3D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Code structure RFC