死代码清理+越界修复+构建去重: 注释PIDController/删除TimerVideo, floodFill半径10→5, ctl.sh删GPIO66/75, CMake双重互斥合并
This commit is contained in:
+3
-2
@@ -27,8 +27,9 @@ aux_source_directory(src DIR_SRCS)
|
||||
|
||||
# 排除暂不使用的模块(源文件保留)
|
||||
# vl53l0x.cpp — 激光测距, 硬件未接
|
||||
# zebra_detect.cpp — 经典斑马线检测, 已由 nanodet 模型替代
|
||||
list(FILTER DIR_SRCS EXCLUDE REGEX "(vl53l0x\\.cpp|zebra_detect\\.cpp)")
|
||||
# zebra_detect.cpp — 经典斑马线检测, 已被 Mild 模型替代
|
||||
# PIDController.cpp — PID 类未使用 (电机开环直驱)
|
||||
list(FILTER DIR_SRCS EXCLUDE REGEX "(vl53l0x\\.cpp|zebra_detect\\.cpp|PIDController\\.cpp)")
|
||||
|
||||
# 静态库 + 主程序
|
||||
add_library(common_lib STATIC ${DIR_SRCS})
|
||||
|
||||
Reference in New Issue
Block a user