Skip to content

Commit

Permalink
Add parallel_for
Browse files Browse the repository at this point in the history
  • Loading branch information
tizianoGuadagnino committed Jan 9, 2025
1 parent afe8d1f commit a90158c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/kinematic_icp/pipeline/KinematicICP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "KinematicICP.hpp"

#include <Eigen/Core>
#include <kiss_icp/core/Deskew.hpp>
#include <kiss_icp/core/Preprocessing.hpp>
#include <kiss_icp/core/Registration.hpp>
#include <kiss_icp/core/VoxelHashMap.hpp>
Expand Down Expand Up @@ -56,7 +55,7 @@ KinematicICP::Vector3dVectorTuple KinematicICP::RegisterFrame(
const Sophus::SE3d &relative_odometry_in_lidar =
lidar_to_base.inverse() * relative_odometry * lidar_to_base;
const auto &preprocessed_frame =
preprocessor_.preprocess(frame, timestamps, relative_odometry_in_lidar);
preprocessor_.Preprocess(frame, timestamps, relative_odometry_in_lidar);
// Give the frame in base frame
const auto &preprocessed_frame_in_base = transform_points(preprocessed_frame, lidar_to_base);
// Voxelize
Expand Down
1 change: 1 addition & 0 deletions cpp/kinematic_icp/registration/Registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <tbb/concurrent_vector.h>
#include <tbb/global_control.h>
#include <tbb/info.h>
#include <tbb/parallel_for.h>
#include <tbb/parallel_reduce.h>
#include <tbb/task_arena.h>

Expand Down

0 comments on commit a90158c

Please sign in to comment.