Skip to content

实现基于曲率的纵向速度控制 - #4464

Closed
wutong88yuyu wants to merge 16 commits into
OpenHUTB:mainfrom
wutong88yuyu:lane-assist-submission
Closed

wutong88yuyu wants to merge 16 commits into
OpenHUTB:mainfrom
wutong88yuyu:lane-assist-submission

Conversation

@wutong88yuyu

Copy link
Copy Markdown
Contributor

修改概述:

实现了纵向速度规划(Longitudinal Speed Planning),解决了车辆在弯道速度过快导致不稳定的问题。

修改的详细描述

  1. 废弃了固定的油门值,采用横纵向耦合控制策略:
  2. 直道行驶:方向盘转角小,保持目标巡航速度 (0.3)。
  3. 弯道行驶:根据方向盘转角 (Steering Angle) 线性降低油门。
    公式优化:throttle = max(0.2, base - abs(steer) * 0.8)
  4. 安全兜底:当视觉丢失车道时,强制降速至 0.2 以保证安全。

经过了什么样的测试?

  1. 操作系统Windows11
  2. Python版本等3.7.9

运行效果

动图、视频、截图等
Snipaste_2025-12-22_11-15-31

2025-12-18.20-39-00.mp4

@donghaiwang

Copy link
Copy Markdown
Member

修改代码和效果不符。后面需要基于传感器数据进行控制

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