Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add empty pipeline constructor #332

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cpp/kiss_icp/pipeline/KissICP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class KissICP {
using Vector3dVectorTuple = std::tuple<Vector3dVector, Vector3dVector>;

public:
explicit KissICP() : KissICP(KISSConfig()) {}
benemer marked this conversation as resolved.
Show resolved Hide resolved
explicit KissICP(const KISSConfig &config)
: config_(config),
registration_(
Expand All @@ -74,6 +75,7 @@ class KissICP {
std::vector<Eigen::Vector3d> LocalMap() const { return local_map_.Pointcloud(); };
Sophus::SE3d pose() const { return last_pose_; }
Sophus::SE3d delta() const { return last_delta_; }
const KISSConfig &config() const { return config_; }
benemer marked this conversation as resolved.
Show resolved Hide resolved

private:
Sophus::SE3d last_pose_;
Expand Down
Loading