Skip to content

Add min walk speed and dynamic target speed#2624

Merged
BenSampaolo merged 1 commit into
HULKs:mainfrom
BenSampaolo:overshoot-at-high-walk-speeds
Jun 25, 2026
Merged

Add min walk speed and dynamic target speed#2624
BenSampaolo merged 1 commit into
HULKs:mainfrom
BenSampaolo:overshoot-at-high-walk-speeds

Conversation

@BenSampaolo

@BenSampaolo BenSampaolo commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Why? What?

Currently the robot overshoots his position targets when max speed is significantly increased. With this PR the speed is automatically throttled down to a minimum speed after coming into range of the target position. The minimum speed and the distance from where the slow-down begins are both behavior parameters.

Known issues

This does not help when the turning rate is too slow, in this case the robot could walk a large circle around the position before directly approaching it.

How to Test

Upload to the robot and use Twix to manually increase the max speed. When directly approaching the target the robot should slow down before reaching its target position. A situation where the robot tries to reach a position that's anchored in the field coordinate system can be triggered by using the game controller and making the robot walk to kickoff for example.

@github-project-automation github-project-automation Bot moved this to In Progress in Development Jun 14, 2026
@BenSampaolo BenSampaolo moved this from In Progress to Review in Development Jun 14, 2026
@BenSampaolo BenSampaolo force-pushed the overshoot-at-high-walk-speeds branch from 1cb1100 to 2ffa596 Compare June 16, 2026 14:53
@BenSampaolo BenSampaolo force-pushed the overshoot-at-high-walk-speeds branch from 2ffa596 to 4202e23 Compare June 16, 2026 14:54
@BenSampaolo BenSampaolo marked this pull request as draft June 16, 2026 14:55
@BenSampaolo BenSampaolo marked this pull request as ready for review June 20, 2026 14:31
@BenSampaolo BenSampaolo assigned JackyBloxx and unassigned JackyBloxx Jun 20, 2026
@JackyBloxx JackyBloxx self-assigned this Jun 24, 2026

@JackyBloxx JackyBloxx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@BenSampaolo BenSampaolo added this pull request to the merge queue Jun 25, 2026
Merged via the queue into HULKs:main with commit e10a340 Jun 25, 2026
7 checks passed
@BenSampaolo BenSampaolo deleted the overshoot-at-high-walk-speeds branch June 25, 2026 13:30
@github-project-automation github-project-automation Bot moved this from Review to Done in Development Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

post-game task: overshoot at high walk speed

2 participants