-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# KdTree | ||
# Notes | ||
1. It's based on nanoflann: https://github.com/jlblancoc/nanoflann. | ||
2. StaticKdTree3d is similar to pcl::PointCloud<pcl::PointXYZ> but faster. | ||
3. DynamicKdTree3d supports for dynamic updating(i.e. 3d pointcloud map updating). | ||
4. Since nanoflann is a C++11 header-only library, you can just copy the hpp files and test/use it. | ||
|
||
|
||
# Building | ||
1. install the Eigen3 | ||
2. cd ~/catkin_ws/src | ||
git clone https://github.com/G3tupup/KdTree.git | ||
cd .. | ||
catkin_make -DCMAKE_BUILD_TYPE=release | ||
or | ||
you can compile dynamic_kd_tree_3d_example.cpp and static_kd_tree_3d_example.cpp in anyway you like. | ||
|
||
# Run | ||
cd ~/catkin_ws/devel/lib/kdtree | ||
./dynamic_kd_tree_3d_example and ./dynamic_kd_tree_3d_example |