Skip to content

Commit

Permalink
Fix ambiguity resolution algorithm: add unique measurement_id (#536)
Browse files Browse the repository at this point in the history
* Fix ambiguity resolution: unique measurement_id

* Get measurement_id with measurements.size()
  • Loading branch information
SylvainJoube authored Apr 14, 2024
1 parent b51d395 commit d47027f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ TRACCC_HOST inline void fill_measurement(
pitch[1] * pitch[1] / static_cast<scalar>(12.)};
// @todo add variance estimation

// For the ambiguity resolution algorithm, give a unique measurement ID
m.measurement_id = measurements.size();

measurements.push_back(std::move(m));
}
}
Expand Down

0 comments on commit d47027f

Please sign in to comment.