From 2c6c8392695f83cbd3d1157b3e04c37270524b77 Mon Sep 17 00:00:00 2001 From: trung09122002 Date: Tue, 29 Sep 2026 14:50:34 +0700 Subject: [PATCH] reloc: ban do 3D luc khoi dong nap du moi node (khong gioi han 40 node/lan) --- app/src/runtime.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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()) {