This commit is contained in:
trung09122002
2026-09-20 15:17:23 +07:00
parent 0c33efea2f
commit 7a7959ca2d
2 changed files with 12 additions and 4 deletions

View File

@@ -97,8 +97,9 @@ camera:
enable_infra1: true
enable_infra2: false
# RS2_OPTION_GLOBAL_TIME_ENABLED tren FW 5.17.0.10 chua kiem. Khong co thi
# lui ve TIME_OF_ARRIVAL, va stamp se kem chinh xac hon vai ms.
# RS2_OPTION_GLOBAL_TIME_ENABLED: DA DO -- D410 FW 5.12.7.100 KHONG ho tro.
# Driver bao "timestamp domain = Hardware Clock" va tu lui ve
# TIME_OF_ARRIVAL. Giu true van dung, duong lui da chay.
prefer_global_time: true
# ============ MCU ============

View File

@@ -106,8 +106,15 @@ struct CameraConfig {
uint32_t decimate = 2;
// Bat RS2_OPTION_GLOBAL_TIME_ENABLED de get_timestamp() tra ve dong ho host.
// Neu D410 FW 5.17.0.10 khong ho tro thi fallback sang TIME_OF_ARRIVAL --
// kem chinh xac hon, va driver se log WARN mot lan.
//
// DA DO TREN THIET BI (D410 serial 204322021346, FW 5.12.7.100): KHONG ho
// tro. Driver bao "timestamp domain = Hardware Clock" va tu lui ve
// TIME_OF_ARRIVAL. De `true` van dung -- no chi la yeu cau, va duong lui da
// chay dung.
//
// Hau qua: stamp camera mang jitter cua thoi diem NHAN, khong phai thoi
// diem chup. Cung goc thoi gian voi LiDAR va IMU, nhung kem chinh xac hon
// vai ms.
bool use_global_time = true;
std::string depth_frame_id = "camera_depth_optical_frame";