diff --git a/app/src/runtime.cc b/app/src/runtime.cc index 5e28529..cc61b8b 100644 --- a/app/src/runtime.cc +++ b/app/src/runtime.cc @@ -9,6 +9,7 @@ #include #include #include +#include #include "vslam/binary_codec.h" #include "vslam/clock.h" @@ -524,6 +525,11 @@ StatusResponse Runtime::Start() { vo.z_max = cfg_->voxel.z_max; vo.max_cells = cfg_->voxel.max_cells; vo.min_node_hits = cfg_->voxel.min_node_hits; + // Nap depth CUA MOI node (mac dinh 40 node/lan xuat): o day chi xuat + // MOT lan truoc khi chot -> 40/971 node chi la mot manh quanh goc map, + // trong nhu PCL cua phien dinh vi. Doi vai giay luc khoi dong; cache + // giu lai nen cac lan xuat sau van nhanh. + vo.max_new_nodes = std::numeric_limits::max(); VoxelGrid vg; const StatusResponse vst = slam_->ExportVoxels(vo, &vg); if (vst.ok()) {