Changes

Summary

  1. feat(trt10): 引入 BUILD_TRT10 编译开关, 适配 x86 Blackwell + TRT10 环境 (details)
  2. note_out:车挂角度校正添加箱体面估计新算法. (details)
  3. note_out:车挂角度校正箱体面算法修改. (details)
  4. note_out:车挂角度校正日志和显示修改. (details)
  5. note_out:前箱面由小格选单点变为选一定范围内的点. (details)
  6. note_out:车挂校正无可靠初始角度时搜索挂前沿侧面计算粗糙参考角度. (details)
  7. note_out:车挂校正无可靠初始角度时搜索挂前沿侧面计算粗糙参考角度,适配小角度计算方法. (details)
  8. note_out:车挂校正无可靠初始角度时搜索挂前沿侧面计算粗糙参考角度,适配小角度计算方法. (details)
  9. note_out:恢复误删除的车挂显示相关topic&&拆分dld_trailer_calibrator.cpp中两个类到两个单独的文件. (details)
  10. note_out:修改enable_expand_filter_用法. (details)
  11. note_out:增加各来源角度框的可视化. (details)
  12. note_out:无参考角度初始角度估计优化. (details)
  13. note_out:无参考角度时车挂角度搜索第二套方法. (details)
  14. note_out:第二套无参考初始挂角查找优化. (details)
  15. trailer front-edge: fix large-angle misclassify + logging + micro-opt (details)
  16. trailer front-edge batch1: box-face channel + z-classification + fusion (details)
  17. trailer front-edge batch2: raw-point fit + dual-side pooling + y-geo + confidence (details)
  18. note_out:无初始角度适配小角度. (details)
  19. note_out:删除第一种求初始角度方法. (details)
  20. note_out:初始角度查找. (details)
  21. note_out:修改暂存. (details)
  22. note_out:无初始角度时估计车挂初始角度v3最终版. (details)
  23. note_out:调节箱面角度的置信度. (details)
  24. note_out:双侧挡流板面拟合角度值相互校验条件放松. (details)
  25. note_out:车挂日志打印条件修改. (details)
  26. note_out:恢复仅无初始车挂角时才调用周围搜索. (details)
  27. note_out: 挡流板置信度校验去除score1,2逻辑&&代码优化. (details)
  28. note_out: 挡流板置信度校验去除score1,2逻辑&&代码优化. (details)
  29. note_out:参数修改. (details)
  30. note_out:增加箱体面计算挂角的注释. (details)
  31. note_out:拟合改为pca,增加箱体面角度y向箱宽校验. (details)
  32. note_out:pca去噪点改为单次. (details)
  33. note_out:调试日志,topic清理和隐藏. (details)
  34. note_out:箱面半宽调整. (details)
  35. note_out:坑洼检测地面分割后处理: 突变点检测,地面地下点粗标签标记. (details)
  36. note_out: 优化地面分割后处理:聚类和分类逻辑优化. (details)
Commit b25dfba226d9aa3dd14981214a21ef62f868c393 by tangxiao
feat(trt10): 引入 BUILD_TRT10 编译开关, 适配 x86 Blackwell + TRT10 环境

CMakeLists 增加 option(BUILD_TRT10), 默认 OFF:
  - OFF (默认): GPU 架构 = 原 SMS 列表 (30 32 35 37 50 52 53 60 61 62 70 72 75 87),
                行为与改动前完全一致, Orin/Xavier/老 x86 部署不受影响.
  - ON : GPU 架构 = sm_120 (RTX 50xx Blackwell), 同名宏 BUILD_TRT10 自动注入
         C/C++ 和 NVCC, 子模块通过 add_subdirectory 继承.
         源码侧走 TRT10 新 API (delete / setMemoryPoolLimit / enqueueV3 +
         setTensorAddress / setInputShape 等), 见 centerpoint/pointpillars
         submodule 同名 commit.

子模块指针更新:
  - centerpoint  -> 068e2dd (cp_lib)
  - pointpillars -> af67324 (dev)

同时纳入本机 RViz 视图配置: conf/perception_imv.rviz.

使用:
  catkin build                                       # 老环境, 行为不变
  catkin build --cmake-args -DBUILD_TRT10=ON         # 本机 Blackwell+TRT10

Co-authored-by: Cursor <cursoragent@cursor.com>
The file was modifiedperception/dl_detection/lib/pointpillars
The file was modifiedconf/perception_imv.rviz
The file was modifiedperception/dl_detection/lib/centerpoint
The file was modifiedperception/dl_detection/lib/CMakeLists.txt
Commit f210ae0f2babe793a0b5b20443ead46c420e65ce by tangxiao
note_out:车挂角度校正添加箱体面估计新算法.
The file was modifiedperception/common/common_types.h
The file was modifiedperception/dl_detection/CMakeLists.txt
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedconf/perception_imv.rviz
The file was modifiedperception/dl_detection/common/dld_params_config.h
The file was addedperception/dl_detection/lidar/doc/container_face_angle.md
The file was removedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calculator.h
The file was removedperception/dl_detection/lidar/impl/dld_trailer_calculator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 150f7c3a6d00ecc7a545118c4ac52c35b533a9ca by tangxiao
note_out:车挂角度校正箱体面算法修改.
The file was modifiedperception/dl_detection/lidar/doc/container_face_angle.md
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 6ef466422ea31daa3b2862d33dd856a726de0ebb by tangxiao
note_out:车挂角度校正日志和显示修改.
The file was modifiedperception/dl_detection/lidar/doc/container_face_angle.md
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
The file was modifiedperception/common/common_types.h
Commit 61a9c18a18f3bd0e3d1a69cff0b382e7c8d5174d by tangxiao
note_out:前箱面由小格选单点变为选一定范围内的点.
The file was modifiedperception/dl_detection/common/dld_params_config.h
The file was modifiedperception/dl_detection/lidar/impl/dld_og_around_impl.cpp
The file was modifiedperception/dl_detection/lidar/doc/container_face_angle.md
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
The file was modifiedperception/common/common_types.h
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modified.gitignore
Commit b504a616b6ebc079e6c56ece1054295f0a3670c5 by tangxiao
note_out:车挂校正无可靠初始角度时搜索挂前沿侧面计算粗糙参考角度.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 3a8d5bad7582b4baed5156f411632cd8b15cfb31 by tangxiao
note_out:车挂校正无可靠初始角度时搜索挂前沿侧面计算粗糙参考角度,适配小角度计算方法.
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
The file was addedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp.bak_expandfix
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit bbcc5cad36d670e5bfa584dbbdf07c9e752e08da by tangxiao
note_out:车挂校正无可靠初始角度时搜索挂前沿侧面计算粗糙参考角度,适配小角度计算方法.
The file was removedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp.bak_expandfix
Commit 3b43ea991805034088274a4115cd3d495aa62ec5 by tangxiao
note_out:恢复误删除的车挂显示相关topic&&拆分dld_trailer_calibrator.cpp中两个类到两个单独的文件.
The file was modified.gitignore
The file was addedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator_by_container.h
The file was addedperception/dl_detection/lidar/impl/dld_trailer_calibrator_by_container.cpp
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_og_around_service.h
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 171fd1314f696f7b19850c94412ff0177dc969ae by tangxiao
note_out:修改enable_expand_filter_用法.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator_by_container.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator_by_container.h
Commit 8c34332940e93a15b5aa2e5d3d91cd5040101e88 by tangxiao
note_out:增加各来源角度框的可视化.
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit c4cb84808b70fd39a6effb1c1326f20e2fdd2323 by tangxiao
note_out:无参考角度初始角度估计优化.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/impl/dld_og_around_impl.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 7dfab4a0c240b9c01bed2b93863184fb6a2addd2 by tangxiao
note_out:无参考角度时车挂角度搜索第二套方法.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit de16eb585abbefe5f682971819e8631c18900b26 by tangxiao
note_out:第二套无参考初始挂角查找优化.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit a49bdbec5501c6d3d8dc3a1bb7aea12111375784 by tangxiao
trailer front-edge: fix large-angle misclassify + logging + micro-opt

- classify: replace |dx|vs|dy| small-angle heuristic with two-hypothesis
  (along/normal) picked by |y_tr| closeness to half-width; kills spurious
  +90deg at large trailer angles
- add z-band gate to reject cargo-box side face (out of baffle height band)
- selection by |y_tr|-to-half-width instead of longest extent
- angle-compare log: initial_baffle / initial_front_edge / revised / ekf / detect
- micro-opt: consider() takes precomputed fit (drop duplicate LS on single
  segment path); reserve cell vectors; std::move cell idx

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit c148e48894e3defac8dd0ba213ae854c37f88d3a by tangxiao
trailer front-edge batch1: box-face channel + z-classification + fusion

Treat box/body front face (tall grid cells above baffle height band) as a
second, parallel estimator of the same trailer angle instead of discarding it:

- consider_box(): route runs whose z-top exceeds the baffle band to a
  box-face candidate; long straight wall -> dominant-axis classify
  (normal at small angle, along at large), keep the longest wall
- fusion: prefer baffle (on-target height); fall back to box-face angle only
  when baffle route finds nothing (e.g. loaded trailer, baffle occluded) ->
  recovers cases that previously abstained (a7)
- logging: per-candidate cand-box line; fuse line with th_baffle/th_box/src/out;
  RESULT now tags src=baffle|boxface
- viz/out use fused final_a/final_b/final_side

NOTE: not compile-verified in this environment (needs project Docker build).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 993fd25cb44fe78e6177d342d84ff7bc77626854 by tangxiao
trailer front-edge batch2: raw-point fit + dual-side pooling + y-geo + confidence

- fit_raw(): LS over raw points of the chosen segment (not the 4 grid
  centroids) to suppress the per-column max-x quantization bias that drove
  the ~-7deg systematic error at small angle (a4/a6)
- dual-side pooling: gather baffle-height cells L/R, sum per-side de-meaned
  covariances -> shared face direction (does NOT connect the two centroids,
  so it is immune to the cross-side motion-compensation x offset); used to
  refine short baffle segments
- y-position geometric fallback: cosθ=(cyL-cyR)/(2w) from known half-width,
  y-only (avoids polluted x); logged (sensitive at large angle only)
- confidence scalar per source; logged in fuse/RESULT
- new logs: batch2 pool (nL/nR/th_pool/th_geo_mag), batch2 refine
  (th_centroid/th_raw/th_pool/use_pool)

Behavior change (intended): baffle final angle now comes from raw-point fit,
or dual-side pool for short segments.
NOTE: not compile-verified in this environment (needs project Docker build).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit c28e223f7ecd9b75b8e841f5e109a5f1aaf0d197 by tangxiao
note_out:无初始角度适配小角度.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit f44deee08ac66081f464f97c6e139193fc47c648 by tangxiao
note_out:删除第一种求初始角度方法.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 3ed18e667347bdd2aefeb08bf8461e50a24cc831 by tangxiao
note_out:初始角度查找.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit c74d30ba8feb5b26d57fd0adda237206612317ed by tangxiao
note_out:修改暂存.
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 0e7fe849120badb96e60970b8b1b4162b4767aab by tangxiao
note_out:无初始角度时估计车挂初始角度v3最终版.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 6fc6595914a0479803f2fbf646d74ca92c984af9 by tangxiao
note_out:调节箱面角度的置信度.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 98da2b6285f63d72593fdeac0b8e758bdce4056a by tangxiao
note_out:双侧挡流板面拟合角度值相互校验条件放松.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 1647ebe4c60ed3f92a5fca9e760cdc48d428556b by tangxiao
note_out:车挂日志打印条件修改.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 8d6c69e459f8be7329557db7f2786d048b8312ad by tangxiao
note_out:恢复仅无初始车挂角时才调用周围搜索.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 4169003e83b1b19b7ebf35aafb974d69e8f8dc14 by tangxiao
note_out: 挡流板置信度校验去除score1,2逻辑&&代码优化.
The file was modifiedperception/common/common_types.h
The file was modifiedperception/dl_detection/common/dld_params_config.h
The file was added"dld_trailer_calibrator\344\274\230\345\214\226\346\270\205\345\215\225.md"
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 340b7bd70a1a86ce12b2826e2919ee1c539b9137 by tangxiao
note_out: 挡流板置信度校验去除score1,2逻辑&&代码优化.
The file was removed"dld_trailer_calibrator\344\274\230\345\214\226\346\270\205\345\215\225.md"
Commit c48305a611e75cbc9482eb185b4baa9efafd31b1 by tangxiao
note_out:参数修改.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 7957ecd966565c5c0e479d2ee67778b96c8b36ab by tangxiao
note_out:增加箱体面计算挂角的注释.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 74603f14be3460fb818962e981ccc1e826f45661 by tangxiao
note_out:拟合改为pca,增加箱体面角度y向箱宽校验.
The file was modifiedperception/common/common_types.h
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
Commit 2cb3e42ded2425b88a3c6706edc0d550c321e318 by tangxiao
note_out:pca去噪点改为单次.
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was addeddoc/trailer_angle_log_analysis_a1a9_20260709.md
Commit 7b9576dd4be88ea2f09ffaaa4443e81fc3e96bed by tangxiao
note_out:调试日志,topic清理和隐藏.
The file was removeddoc/trailer_angle_log_analysis_a1a9_20260709.md
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit e115495f9fb7c7011e95e0f9b7ef262ab5fd4358 by tangxiao
note_out:箱面半宽调整.
The file was modifiedperception/dl_detection/common/dld_params_config.h
The file was modifiedperception/dl_detection/lidar/impl/dld_trailer_calibrator.cpp
The file was modifiedperception/common/common_types.h
The file was modifiedperception/dl_detection/lidar/include/dld_pre_suf_set/dld_trailer_calibrator.h
Commit 1f1de8a5a04bdfabea348e7a05d980db2407614b by tangxiao
note_out:坑洼检测地面分割后处理: 突变点检测,地面地下点粗标签标记.
The file was modifiedperception/ground_segmentation/services/seg_ground_step.h
The file was modifiedperception/ground_segmentation/components/seg_ground.cpp
The file was modifiedperception/ground_segmentation/common/data_injector.cpp
The file was modifiedperception/ground_segmentation/common/grd_utils.cpp
The file was modifiedperception/ground_segmentation/services/seg_ground_alg_plus.h
The file was modifiedperception/ground_segmentation/services/impl/seg_ground_alg_plus.cpp
The file was modifiedperception/ground_segmentation/services/impl/seg_ground_step.cpp
The file was modifiedperception/ground_segmentation/components/seg_obstacle.cpp
The file was modifiedperception/ground_segmentation/services/impl/seg_obstacle_step.cpp
The file was modifiedperception/ground_segmentation/services/seg_obstacle_step.h
The file was modifiedperception/ground_segmentation/common/data_injector.h
The file was modifiedperception/ground_segmentation/common/basic_types.h
Commit 97ac2b432c9dbb1c02cd7aebb0f40e1da7fc9ffe by tangxiao
note_out: 优化地面分割后处理:聚类和分类逻辑优化.
The file was modifiedperception/ground_segmentation/services/impl/seg_ground_alg_plus.cpp
The file was modifiedperception/ground_segmentation/services/seg_ground_alg_plus.h