Skip to content

无人车自动泊车模型 - #3743

Merged
donghaiwang merged 3 commits into
OpenHUTB:mainfrom
ybnfsh:main
Dec 19, 2025
Merged

donghaiwang merged 3 commits into
OpenHUTB:mainfrom
ybnfsh:main

Conversation

@ybnfsh

@ybnfsh ybnfsh commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

修改概述:

修改的详细描述

  1. 核心功能:车辆建模:简化 Ackermann 转向模型,考虑车长、车宽、轴距等物理参数
    路径规划:采用「两段圆弧 + 两段直线」的经典泊车路径(贴近真实无人车泊车逻辑)
    动态可视化:实时绘制车辆位置、航向角、行驶轨迹,清晰展示泊车过程
    2.运行效果:打开 PyCharm Community Edition,新建 Python 文件,粘贴代码并运行
    会弹出动画窗口,显示车辆从初始位置出发,自动转向、调整姿态、精准入库的完整过程
    绿色矩形为目标车位,橙色线为行驶轨迹,红色箭头为车辆航向
    3.参数可调:可修改 PARKING_POS 调整车位位置
    修改 INIT_CAR_POS 调整车辆初始位置
    调整 MAX_STEER(最大转向角)、STEP_TIME(仿真步长)改变泊车速度和流畅度

经过了什么样的测试?

  1. Windows 11
  2. Python3.13

运行效果

VID_20251218203527.mp4

@donghaiwang
donghaiwang merged commit d444480 into OpenHUTB:main Dec 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants