We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658b26d commit d498133Copy full SHA for d498133
form/optimization/matcher.hpp
@@ -69,6 +69,10 @@ template <typename Point> class Matcher {
69
const std::function<gtsam::Pose3(size_t)> &estimates,
70
tsl::robin_map<size_t, std::tuple<PlanePoint::Ptr, PointPoint::Ptr>>
71
&scan_constraints) {
72
+ if (keypoints.empty()) {
73
+ return;
74
+ }
75
+
76
// Set everything up
77
matches.clear();
78
for (auto it = scan_constraints.begin(); it != scan_constraints.end(); ++it) {
0 commit comments