Skip to content

提取简单控制器参数 - #3690

Merged
William4861 merged 1 commit into
OpenHUTB:mainfrom
wutong88yuyu:lane-assist-submission
Dec 18, 2025
Merged

William4861 merged 1 commit into
OpenHUTB:mainfrom
wutong88yuyu:lane-assist-submission

Conversation

@wutong88yuyu

Copy link
Copy Markdown
Contributor

修改概述:

修改的详细描述

  1. 提取简单控制器的参数,使得运行更加流畅,把里面的数字 0.1, -0.75, 0.75 提取为常量。静态方法 staticmethod 里不能用 self,所以要改成用类名 Agent. 访问,或者把 @staticmethod 去掉改成普通方法。为了简单,我们直接把常量写进去,或者在函数内部定义。

经过了什么样的测试?

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

运行效果

动图、视频、截图等

2025-12-18.18-38-20.mp4

@William4861
William4861 merged commit 012a33b into OpenHUTB:main Dec 18, 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