Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tizianoGuadagnino committed Jan 27, 2025
1 parent 7868fc7 commit 9b23e8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp/kiss_icp/core/Preprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ std::vector<Eigen::Vector3d> Preprocessor::Preprocess(const std::vector<Eigen::V
return frame;
} else {
const auto &[min, max] = std::minmax_element(timestamps.cbegin(), timestamps.cend());
const auto normalize = [&](const double t) { return (t - *min) / (*max - *min); };
const auto normalize = [&min, &max](const double t) {
return (t - *min) / (*max - *min);
};
const auto &omega = relative_motion.log();
std::vector<Eigen::Vector3d> deskewed_frame(frame.size());
tbb::parallel_for(
Expand Down

0 comments on commit 9b23e8c

Please sign in to comment.