Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8468412
论文第一章
minghao-lee Jan 15, 2026
6ddd4c1
Merge branch 'master' of https://github.com/minghao-lee/sim
minghao-lee Jan 15, 2026
d59bee9
提交中文摘要
minghao-lee May 12, 2026
11cbb12
Merge branch 'OpenHUTB:master' into master
minghao-lee May 12, 2026
bab54db
提交英文摘要
minghao-lee May 12, 2026
a7af726
Merge branch 'OpenHUTB:master' into master
minghao-lee May 18, 2026
75f6f78
提交说明文件
minghao-lee May 18, 2026
7f0f80d
说明文件
minghao-lee May 18, 2026
d86c1bd
提交全局配置
minghao-lee May 18, 2026
634f3b6
1
minghao-lee May 18, 2026
2e75ec0
Delete critical/undergraduate/content/README.md
minghao-lee May 18, 2026
94da8e3
Merge branch 'OpenHUTB:master' into master
minghao-lee May 18, 2026
3da300c
函数文件
minghao-lee May 18, 2026
9332468
Merge branch 'OpenHUTB:master' into master
minghao-lee May 18, 2026
875172c
提交env文件
minghao-lee May 18, 2026
9c9704c
Merge branch 'OpenHUTB:master' into master
minghao-lee May 19, 2026
4aeb358
危险场景定义
minghao-lee May 19, 2026
b05c1fc
Merge branch 'OpenHUTB:master' into master
minghao-lee May 19, 2026
cfcdcd4
训练与评估文件
minghao-lee May 19, 2026
30c92c3
Merge branch 'OpenHUTB:master' into master
minghao-lee May 19, 2026
54bc841
强化学习算法
minghao-lee May 19, 2026
2e62b49
Merge branch 'OpenHUTB:master' into master
minghao-lee May 20, 2026
77849a2
运行的主代码
minghao-lee May 20, 2026
cd3e26c
Merge branch 'OpenHUTB:master' into master
minghao-lee May 20, 2026
c4d1dad
Merge branch 'OpenHUTB:master' into master
minghao-lee May 27, 2026
3685fb5
Merge branch 'OpenHUTB:master' into master
minghao-lee Jun 7, 2026
dc2f8cc
Merge branch 'master' of https://github.com/minghao-lee/sim
minghao-lee Jun 7, 2026
ab71b1c
图片和论文第一章
minghao-lee Jun 7, 2026
dcefce8
Merge branch 'OpenHUTB:master' into master
minghao-lee Jun 7, 2026
f9fa167
论文正文
minghao-lee Jun 7, 2026
4de64c2
Merge branch 'OpenHUTB:master' into master
minghao-lee Jun 7, 2026
dded930
参考文献
minghao-lee Jun 7, 2026
5ed74d7
Merge branch 'OpenHUTB:master' into master
minghao-lee Jun 9, 2026
9550e94
论文修改
minghao-lee Jun 9, 2026
7355b80
论文与代码修改
minghao-lee Jun 9, 2026
8ecc8ca
论文与代码修改
minghao-lee Jun 9, 2026
b7d221b
论文修改
minghao-lee Jun 10, 2026
b878102
删除pdf
minghao-lee Jun 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion critical/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

```bash
# 1. 启动 CARLA 仿真器
cd D:\hutb\hutb && CarlaUE4.exe
双击 CarlaUE4.exe

# 2. 运行项目
python main.py
Expand Down
114 changes: 0 additions & 114 deletions critical/_lane.py

This file was deleted.

200 changes: 0 additions & 200 deletions critical/agent.py

This file was deleted.

52 changes: 0 additions & 52 deletions critical/combined_night_pedestrian.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions critical/env/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# env/__init__.py
# 环境模块统一入口

from .carla_env import CarlaEnv
from .reward import RewardCalculator
9 changes: 8 additions & 1 deletion critical/carla_env.py → critical/env/carla_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
try:
import carla
except ImportError:
carla_root = os.environ.get("CARLA_ROOT", r"D:\hutb\hutb")
carla_root = os.environ.get("CARLA_ROOT")
if not carla_root:
raise ImportError(
"未设置 CARLA_ROOT 环境变量。\n"
"请设置环境变量指向 CARLA 安装目录,例如:\n"
" Windows: set CARLA_ROOT=D:\\hutb\\hutb\n"
" 或在代码中: os.environ['CARLA_ROOT'] = 'D:\\hutb\\hutb'"
)
egg_dir = os.path.join(carla_root, "PythonAPI", "carla", "dist")
egg_file = os.path.join(egg_dir,
"carla-0.9.16-py3.7-win-amd64.egg" if os.name == "nt"
Expand Down
File renamed without changes.
Loading
Loading