Repository navigation
无人车自动雨刮 - #3806
Merged
Merged
无人车自动雨刮#3806
Conversation
donghaiwang
approved these changes
Dec 19, 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时,系统显示雨刮器暂停。当挡风玻璃上面雨滴数量五0到50时,系统显示雨刮器开启小档。当挡风玻璃上面雨滴数量为50~100时,系统显示雨刮器开启中档。当挡风玻璃上面的雨滴数量大于100时,系统显示雨刮器开启高档。
修改的详细描述
1.已在 CARLA 中为无人车配置雨滴识别器传感器(可模拟或使用真实视觉算法识别雨滴数量)。
2.无人车的雨刮器已启用可控制接口(CARLA 的VehicleControl类支持雨刮器档位设置)。
3.Python 环境已安装carla库,且与 CARLA 服务端版本兼容。
经过了什么样的测试?
1.启动 CARLA 服务端(如./CarlaUE4.sh)。
2.运行上述 Python 脚本,控制台会输出雨滴数量和雨刮器状态。
3.可在 CARLA 客户端中直观看到无人车雨刮器的摆动变化。
运行效果
动图、视频、截图等
2025-12-18.204335.mp4