Repository navigation
无人车速度报警系统 - #3621
Merged
Merged
无人车速度报警系统#3621
Conversation
donghaiwang
approved these changes
Dec 18, 2025
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.
修改概述:
无人车速度报警系统,规定在一个平面无人车的速度为0到150,0到60速度控制面板显示正常两个字,速度61到120显示超速两个字,速度121到150显示超速危险四个字
修改的详细描述
读取 Carla 无人车的实时速度(模拟 / 真实数据接入)
根据速度区间进行分级判断:
0
60:显示「正常」120:显示「超速」61
121
150:显示「超速危险」150 范围:显示「速度异常」超出 0
提供可视化的控制面板输出(控制台 / UI 界面可选)
经过了什么样的测试?
模拟版本:直接运行 Python 脚本
真实版本:
先启动 Carla 服务器(CarlaUE4.sh或CarlaUE4.exe)
在 Carla 场景中生成至少一辆车辆(可通过 Carla 的蓝图库生成)
运行 Python 脚本,系统会自动连接第一辆车辆并监控速度
运行效果
动图、视频、截图等
2025-12-18.133150.mp4