feat: 斑马线停车LCD图片提示 + 冷却期bang-bang转向

- 斑马线Z_STOP期间LCD显示pedestrian_stop.png图片,不受showImg控制
- 进入/离开Z_STOP时清屏,仅状态切换时操作LCD,无每帧开销
- Z_COOLDOWN 3.3~5s内:一次方向锁定打满机会(偏差出现->打满->方向翻转/回正即退出)
- Z_COOLDOWN 3.3~5s降速上限13,foresee缩短至24
- 程序退出前自动清屏
- CMake: OpenCV_DIR改为本地交叉编译4.13.0路径
- 主程序改名为smartcar_test
This commit is contained in:
spdis
2026-07-04 20:42:47 +08:00
parent 2cab70791e
commit 06bb64ad26
3 changed files with 233 additions and 62 deletions
+6 -3
View File
@@ -1,9 +1,12 @@
# 主程序
add_executable(smartcar_demo1 main.cpp)
target_link_libraries(smartcar_demo1 common_lib ${OpenCV_LIBS})
add_executable(smartcar_test main.cpp)
target_link_libraries(smartcar_test common_lib ${OpenCV_LIBS})
add_executable(lidar_test lidar_test.cpp)
target_link_libraries(lidar_test common_lib)
add_executable(remote_control remote_control.cpp)
target_link_libraries(remote_control common_lib)
target_link_libraries(remote_control common_lib)
add_executable(lcd_test lcd_test.cpp)
target_link_libraries(lcd_test common_lib ${OpenCV_LIBS})