Repository navigation
无人车自动泊车模型 - #3743
Merged
Merged
无人车自动泊车模型#3743
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.
修改概述:
修改的详细描述
路径规划:采用「两段圆弧 + 两段直线」的经典泊车路径(贴近真实无人车泊车逻辑)
动态可视化:实时绘制车辆位置、航向角、行驶轨迹,清晰展示泊车过程
2.运行效果:打开 PyCharm Community Edition,新建 Python 文件,粘贴代码并运行
会弹出动画窗口,显示车辆从初始位置出发,自动转向、调整姿态、精准入库的完整过程
绿色矩形为目标车位,橙色线为行驶轨迹,红色箭头为车辆航向
3.参数可调:可修改 PARKING_POS 调整车位位置
修改 INIT_CAR_POS 调整车辆初始位置
调整 MAX_STEER(最大转向角)、STEP_TIME(仿真步长)改变泊车速度和流畅度
经过了什么样的测试?
运行效果
VID_20251218203527.mp4