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
+1 -1
View File
@@ -14,7 +14,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall")
project(smartcar_demo2 VERSION 0.1.0 LANGUAGES C CXX)
# OpenCV 设备端路径
set(OpenCV_DIR /home/ilikara/loongson/opencv-4.13.0/loongson/lib/cmake/opencv4)
set(OpenCV_DIR /home/spdis/loongson/opencv-4.13.0/loongson/lib/cmake/opencv4)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
message(STATUS "OpenCV Include Directories: ${OpenCV_INCLUDE_DIRS}")