Skip to content

为 driving_car 模块添加 requirements.txt#5

Open
study-pan-hub wants to merge 1 commit intomainfrom
study-pan-hub-patch-1
Open

为 driving_car 模块添加 requirements.txt#5
study-pan-hub wants to merge 1 commit intomainfrom
study-pan-hub-patch-1

Conversation

@study-pan-hub
Copy link
Copy Markdown
Owner

修改概述: 为 src/driving_car 目录下的无人车仿真脚本补充依赖配置文件。

修改的详细描述

  1. 包含的脚本类型

  • 倒车入库(平行/垂直)- 依赖 carla, numpy, pygame
  • 障碍物检测与避障 - 依赖 carla, numpy
  • 车道线检测 - 依赖 opencv-python, numpy, matplotlib
  • 状态监控(电池/油量/温度/超重/速度)- 依赖 tkinter/threading(内置)
  • 基础键盘控制 - 依赖 pygame
  1. 依赖说明

依赖包 版本要求 用途
carla >=0.9.13 Carla仿真器接口
numpy >=1.21.0 数值计算、点云处理
opencv-python >=4.5.0 图像处理、车道检测
pygame >=2.0.0 可视化窗口、键盘控制
matplotlib >=3.5.0 车道检测结果展示

经过了什么样的测试?

  • 仅添加 requirements.txt 文件,无任何代码修改
  • 标注了Python内置模块(无需安装)
  • 提供了清晰的分类和用途说明

###验证方式

pip install -r requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant