How eratenaina-code/autonomous works
This C++ point-cloud application reads sequential PCD frames, filters and segments them, extracts obstacle clusters, and displays the results with distance labels and bounding boxes. The main processing function owns the filtering, plane removal, clustering, and rendering calls; the custom kd-tree is an alternate clustering implementation. The README is empty, so capabilities and relationships are based on the shown source and source index. Dataset 2 is present in the tree, but the excerpt only shows dataset 1 being selected.
Main entry points: cluster_extraction.cpp Frame Processing · Renderer.cpp Scene Renderer · dataset_1 Dataset 1 · tree_utilities.hpp Custom Kd-Tree
Components 11
Point Cloud Input
- Dataset 1
dataset_1 - Dataset 2
dataset_2 - PCD Frame Loading
assignment_1/src/cluster_extraction.cpp
Obstacle Processing
- Frame Processing
assignment_1/src/cluster_extraction.cpp - Plane Segmentation
assignment_1/src/cluster_extraction.cpp - Cluster Extraction
assignment_1/src/cluster_extraction.cpp - Custom Kd-Tree
assignment_1/include/tree_utilities.hpp
3D Display
- Scene Renderer
assignment_1/src/Renderer.cpp
Data Structures
- Bounding Box Types
assignment_1/include/Box.hpp
Other components
- Application User
- 3D Viewer
Connections 9
- Application User → PCD Frame Loading: runs
assignment_1/src/cluster_extraction.cpp - Dataset 1 → PCD Frame Loading: provides frames
assignment_1/src/cluster_extraction.cpp - PCD Frame Loading → Frame Processing: passes frame
assignment_1/src/cluster_extraction.cpp - Frame Processing → Plane Segmentation: segments planes
assignment_1/src/cluster_extraction.cpp - Frame Processing → Cluster Extraction: extracts clusters
assignment_1/src/cluster_extraction.cpp - Frame Processing → Custom Kd-Tree: uses alternate search
assignment_1/src/cluster_extraction.cpp - Frame Processing → Scene Renderer: renders results
assignment_1/src/cluster_extraction.cpp - Scene Renderer → 3D Viewer: updates scene
assignment_1/src/Renderer.cpp - Frame Processing → Bounding Box Types: creates boxes
assignment_1/src/cluster_extraction.cpp