diff --git a/cpp/kiss_icp/pipeline/KissICP.hpp b/cpp/kiss_icp/pipeline/KissICP.hpp index 0ef7fe39..2a5be57c 100644 --- a/cpp/kiss_icp/pipeline/KissICP.hpp +++ b/cpp/kiss_icp/pipeline/KissICP.hpp @@ -72,8 +72,15 @@ class KissICP { Vector3dVectorTuple Voxelize(const std::vector &frame) const; std::vector LocalMap() const { return local_map_.Pointcloud(); }; - Sophus::SE3d pose() const { return last_pose_; } - Sophus::SE3d delta() const { return last_delta_; } + + const VoxelHashMap &VoxelMap() const { return local_map_; }; + VoxelHashMap &VoxelMap() { return local_map_; }; + + const Sophus::SE3d &pose() const { return last_pose_; } + Sophus::SE3d &pose() { return last_pose_; } + + const Sophus::SE3d &delta() const { return last_delta_; } + Sophus::SE3d &delta() { return last_delta_; } private: Sophus::SE3d last_pose_;