Skip to content

Split Action and MotionCommand Initial into Initial and Standby#2090

Closed
alexschmander wants to merge 1 commit intoHULKs:mainfrom
alexschmander:refactor-visual-referee-actions
Closed

Split Action and MotionCommand Initial into Initial and Standby#2090
alexschmander wants to merge 1 commit intoHULKs:mainfrom
alexschmander:refactor-visual-referee-actions

Conversation

@alexschmander
Copy link
Copy Markdown
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
@pejotejo pejotejo moved this from Request for Review to NaoEra Backlog in Development Mar 3, 2026
@pejotejo
Copy link
Copy Markdown
Contributor

pejotejo commented Mar 3, 2026

not relevant anymore

@pejotejo pejotejo closed this Mar 3, 2026
auto-merge was automatically disabled March 3, 2026 18:29

Pull request was closed

@github-project-automation github-project-automation Bot moved this from NaoEra Backlog to Done in Development Mar 3, 2026
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

Archived in project

Development

Successfully merging this pull request may close these issues.

Clean up visual referee actions / enabling pose detection

2 participants