Skip to content

Conversation

@alexschmander
Copy link
Contributor

Why? What?

Currently, the Initial Action and MotionCommand are used during game state Initial and Standby. This is confusion and should be cleaned up. Additionally, there is currently no way of using the LookAtReferee HeadMotion without aactivting pose detection. This PR adds a Standby Action and MotionCommand, replacing the Initial ones when used in the Standby game state. Pose detection is now activated by using HeadMotion::LookAtReferee in either MotionCommand::Standby or Stand.

Fixes #2061

ToDo / Known Issues

If this is a WIP describe which problems are to be fixed.

Ideas for Next Iterations (Not This PR)

If there are some improvements that could be done in a next iteration, describe them here.

How to Test

  • Test behavior of visual referee and pose detection activation

@alexschmander alexschmander added cat:Behavior is:Refactoring No changes in functionality, only in coding style. RoboCup 2025 ⚽ labels Jul 21, 2025
@github-project-automation github-project-automation bot moved this to Request for Review in Development Jul 21, 2025
@alexschmander alexschmander changed the title Split Action and MotionCommand Initial into Initialand Standby Split Action and MotionCommand Initial into Initial and Standby Jul 21, 2025
@alexschmander alexschmander enabled auto-merge July 21, 2025 18:13
@alexschmander alexschmander force-pushed the refactor-visual-referee-actions branch from a4f70d8 to 9a25fe3 Compare July 21, 2025 18:57
Currently, the `Initial` `Action` and `MotionCommand` are used during game state Initial and Standby. This is confusion and should be cleaned up. Additionally, there is currently no way of using the `LookAtReferee` `HeadMotion` without aactivting pose detection.
This PR adds a `Standby` `Action` and `MotionCommand`, replacing the `Initial` ones when used in the `Standby` game state. Pose detection is now activated by using `HeadMotion::LookAtReferee` in either `MotionCommand::Standby` or `Stand`.
@alexschmander alexschmander force-pushed the refactor-visual-referee-actions branch from 9a25fe3 to ebd61ee Compare July 21, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:Behavior is:Refactoring No changes in functionality, only in coding style. RoboCup 2025 ⚽

Projects

Status: Request for Review

Development

Successfully merging this pull request may close these issues.

Clean up visual referee actions / enabling pose detection

1 participant