MCPcopy Create free account
hub / github.com/KumarRobotics/sloam / addFeatureMatches

Method addFeatureMatches

sloam/src/core/sloam.cpp:288–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286
287 template <typename T>
288 void sloam::addFeatureMatches(const VectorType &features, const T &object, const double dist, std::vector<ObjectMatch<T>> &matches)
289 {
290
291 for (const auto &feature : features)
292 {
293 ObjectMatch<T> match(feature, object, dist);
294 matches.push_back(match);
295 }
296 }
297
298 template <typename T>
299 void sloam::matchModels(const std::vector<T> &currObjects, const std::vector<T> &mapObjects, std::vector<int> &matchIndices)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected