diff --git a/configuration_files/pipeline.yaml b/configuration_files/pipeline.yaml index 38d4c34..187999d 100644 --- a/configuration_files/pipeline.yaml +++ b/configuration_files/pipeline.yaml @@ -21,7 +21,14 @@ depth_filter: # THAY GI -- do la vung mu ma bumper phai bit, # khong phai vat can o khoang cach do. max_range: 4.0 - voxel_size: 0.03 + # 0.03 -> 0.05 de dam may xuong ~2000 diem NGAY TU NGUON. + # + # `web.cloud_max_points` cung giam mau, nhung bang BUOC DEU -- lay diem thu + # N roi vut phan con lai, nen hinh bi ro. Voxel 5 cm cho ra cung so diem ma + # phan bo deu trong khong gian. Cung mot ngan sach byte, hinh dep hon. + voxel_size: 0.05 + # ⚠️ Day la TRAN tan so cua cloud tren web. `web.cloud_rate_hz` cao hon so + # nay chi lam gui lai dung mot dam may hai lan. max_rate: 10.0 # Hz. 30 Hz vao, 10 Hz ra. enable_temporal: false min_hits: 3 diff --git a/configuration_files/system.yaml b/configuration_files/system.yaml index 361fcfa..cf5d37d 100644 --- a/configuration_files/system.yaml +++ b/configuration_files/system.yaml @@ -27,16 +27,24 @@ web: # 1-2 giay. Gio Publish() co cong tan so that cho tung kenh. status_rate_hz: 10.0 scan_rate_hz: 10.0 - cloud_rate_hz: 4.0 + cloud_rate_hz: 8.0 path_rate_hz: 1.0 # ⚠️ Hai so nay di CUNG NHAU: chung quyet dinh bang thong cua kenh nang # nhat. Mot khung cloud = max_points * 6 byte + 36. - # 4000 diem @ 2 Hz = 48 kB/s (ban truoc) - # 2500 diem @ 4 Hz = 60 kB/s (hien tai -- muot gap doi, dat them 12 kB/s) - # Do duoc sau khi co cong tan so: 64 kB/s moi client, ngan sach ca UI la - # 120 kB/s. Tang mot trong hai so thi tinh lai, dung doan. - cloud_max_points: 2500 + # 4000 diem @ 2 Hz = 48 kB/s + # 2500 diem @ 4 Hz = 60 kB/s + # 2000 diem @ 8 Hz = 96 kB/s (hien tai) + # Do duoc: phan KHONG phai cloud la 16 kB/s, ngan sach ca UI la 120 kB/s, + # nen cloud duoc tieu toi da ~104. Tang mot trong hai so thi tinh lai, dung + # doan. + # + # ⚠️ 96 kB/s la muc cho client xem TREN JETSON. Qua WiFi tu laptop da do + # duoc rot khung o muc thap hon the -- neu `frames_dropped` trong + # /api/status bat dau tang thi lui `cloud_rate_hz` ve 6. + # + # Tran tan so la `depth_filter.max_rate` (10 Hz), khong phai so nay. + cloud_max_points: 2000 cloud_quant_m: 0.01 # Tan so toi da DUNG lai ban do tu do thi SLAM.