Skip to content

Walk to ball position as default behaviour - #2137

Merged
paudar merged 13 commits into
HULKs:mainfrom
paudar:walk_to_ball_as_default
Jan 24, 2026
Merged

Walk to ball position as default behaviour#2137
paudar merged 13 commits into
HULKs:mainfrom
paudar:walk_to_ball_as_default

Conversation

@paudar

@paudar paudar commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

Why? What?

As a first step of autonomous behaviour we want the K1 to reach the position of the ball.
We wanted to split the control cycler in world_state and behavior, what is not possible with the current state of the Framework.
Therefore only the world_state cycler is introduced, to contain computational and filtering tasks. But it also contains behavior nodes for now.

Fixes #2121

ToDo / Known Issues

  • no headmotion if no ball is in view

Ideas for Next Iterations (Not This PR)

  • rework Head-Motion
  • reintroduce a walk-command-selector

How to Test

run mujoco and the mujoco simulator and see, that the robot is walking in the direction of the ball.

@github-project-automation github-project-automation Bot moved this to Request for Review in Development Nov 5, 2025
@paudar paudar moved this from Request for Review to In Progress in Development Nov 5, 2025
Comment thread crates/behavior/src/data_receiver.rs Outdated
Comment thread crates/behavior/src/walk_to_ball.rs Outdated
Comment thread crates/behavior/src/walk_to_ball.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_state_composer.rs Outdated
Comment thread crates/world_state/src/data_receiver.rs Outdated
@paudar
paudar force-pushed the walk_to_ball_as_default branch 2 times, most recently from d566904 to 24f7659 Compare November 19, 2025 16:04
@paudar
paudar force-pushed the walk_to_ball_as_default branch 2 times, most recently from 78d5a10 to f58197b Compare November 26, 2025 15:52
Comment thread crates/behavior/src/walk_to_ball.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread etc/parameters/default.json Outdated
@paudar
paudar force-pushed the walk_to_ball_as_default branch from b80cbc2 to 39212ac Compare December 10, 2025 16:53
@paudar
paudar force-pushed the walk_to_ball_as_default branch 4 times, most recently from 1f36982 to 3fdf253 Compare January 14, 2026 17:15
@paudar
paudar force-pushed the walk_to_ball_as_default branch 4 times, most recently from 5764aa8 to 076590d Compare January 18, 2026 12:32
@paudar paudar moved this from In Progress to Request for Review in Development Jan 18, 2026
@paudar
paudar force-pushed the walk_to_ball_as_default branch 3 times, most recently from 7a480f0 to be8d2a0 Compare January 20, 2026 15:49
@paudar
paudar enabled auto-merge January 20, 2026 15:51

@alexschmander alexschmander 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.

Works really great already! Just some tidying up to do ;)

Comment thread etc/parameters/default.json Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/ball_filter.rs Outdated
Comment thread crates/world_state/src/behavior/walk_to_ball.rs Outdated
Comment thread crates/control/src/motion/booster_walking.rs Outdated
@alexschmander alexschmander self-assigned this Jan 20, 2026
add new world_state-cycler

add zero-order-hold-filter as ball_filter

impl structure of walk_to_ball-node

rename data_receiver

add dependencies

format

add filed_dimensions parameter to allow simulation
@paudar
paudar force-pushed the walk_to_ball_as_default branch from e039a45 to 88da518 Compare January 21, 2026 14:27
@paudar
paudar force-pushed the walk_to_ball_as_default branch from 6dd68ec to 946af4a Compare January 21, 2026 18:44

@alexschmander alexschmander 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.

Just some very minor things left. Otherwise looks good to me

Comment thread tools/mujoco-simulator/mujoco-simulator/K1/ball.xml
Comment thread crates/control/src/motion/motion_selector.rs Outdated
Comment thread crates/control/src/motion/booster_walking.rs
@alexschmander

Copy link
Copy Markdown
Contributor

@oleflb could you resolve your conversations, please?

@alexschmander alexschmander 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.

Very nice! Looks good to me

@oleflb
oleflb self-requested a review January 24, 2026 11:10
@paudar
paudar added this pull request to the merge queue Jan 24, 2026
Merged via the queue into HULKs:main with commit 3b47065 Jan 24, 2026
22 checks passed
@paudar
paudar deleted the walk_to_ball_as_default branch January 24, 2026 11:15
@github-project-automation github-project-automation Bot moved this from Request for Review to Done in Development Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Verfolgung

3 participants