Repository navigation
无人车防追尾系统 - #3866
Closed
shengzhanpeng wants to merge 12 commits into
Closed
无人车防追尾系统#3866shengzhanpeng wants to merge 12 commits into
shengzhanpeng wants to merge 12 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改概述:
给无人车安装一个距离识别器,识别器可以测量无人车后面200米障碍物的距离。障碍物距离100到200米,系统显示后方安全,四个绿色的字。障碍物距离后面50到99米,系统显示“后方有障碍物,谨慎驾驶!”,这几个字用黄色的字表示。障碍物距离后面10到49米,系统显示后方注意安全,几个红色的字。距离零到十米,系统显示小心追尾四个红色的字
修改的详细描述
使用激光雷达筛选后方 200m 范围内的障碍物
按距离分级显示预警文本(颜色 + 内容对应需求)
可视化界面直接叠加在 CARLA 仿真窗口
经过了什么样的测试?
启动 CARLA 模拟器:./CarlaUE4.sh(Linux)或 CarlaUE4.exe(Windows)
在 PyCharm 中直接运行该代码
可在 CARLA 中手动生成其他车辆作为后方障碍物,测试预警效果
运行效果
动图、视频、截图等
2025-12-19.153403.mp4