Skip to content

Abstract functionality to allow open sourcing under ros-sports#1

Open
texhnolyze wants to merge 5 commits into
rollingfrom
feature/abstract-for-open-source
Open

Abstract functionality to allow open sourcing under ros-sports#1
texhnolyze wants to merge 5 commits into
rollingfrom
feature/abstract-for-open-source

Conversation

@texhnolyze

Copy link
Copy Markdown

This PR does the following:

  • double checked the protocol and adapted accordingly
  • corrected conversion of the protocol
  • created its own PlayerStateResponse msg with sensible ROS defaults, meaning teams do not have to do unit conversions or publishing in multiple components. This also allows us at the bit-bots to not have to publish from HCM, Localization, etc. but a generalized component
  • introduces unit tests

@texhnolyze texhnolyze requested review from MegaIng, cleWu03 and jaagut July 1, 2026 02:49
@texhnolyze texhnolyze self-assigned this Jul 1, 2026
@texhnolyze texhnolyze force-pushed the feature/abstract-for-open-source branch 2 times, most recently from 16aa652 to 7e40cab Compare July 1, 2026 04:30
@texhnolyze texhnolyze requested a review from Flova July 1, 2026 04:51
@Flova

Flova commented Jul 1, 2026

Copy link
Copy Markdown
Member

I find it relatively hard to see what was changed compared to the version we are currently playing with. As the version on this repo is much older. I need some more time to review this in this case. Also it seems like some API changed. Do we want to integrate it with our software during this world cup to test it or do we want to do it afterwards?

Comment thread game_controller_hsl/game_controller_hsl/receiver.py Outdated
Comment thread game_controller_hsl/game_controller_hsl/receiver.py Outdated
both from the game controller and the player response.
Keep as close to the original [protocol], but add additional utility
fields where it makes sense.

[protocol]: https://github.com/RoboCup-HumanoidSoccerLeague/GameController/blob/master/game_controller_msgs/headers/RoboCupGameControlData.h

BREAKING CHANGE: as some field types/names changed this needs adoption
and also update and adapt fields in the game_controller protocol,
while introducing additional `GameState` utility fields
to allow additional functionalities like yellow/red cards
@texhnolyze texhnolyze force-pushed the feature/abstract-for-open-source branch from 7e40cab to ad7cf26 Compare July 1, 2026 09:48
texhnolyze added a commit to bit-bots/bitbots_main that referenced this pull request Jul 1, 2026
after properly setting up a PlayerStateResponse in
bit-bots/game_controller_hsl#1

This makes the architecture much cleaner as we do not have dependencies
to `game_controller_hsl` in multiple components, which could also
function without any game controller.
BloodWork44 pushed a commit to bit-bots/bitbots_main that referenced this pull request Jul 2, 2026
after properly setting up a PlayerStateResponse in
bit-bots/game_controller_hsl#1

This makes the architecture much cleaner as we do not have dependencies
to `game_controller_hsl` in multiple components, which could also
function without any game controller.
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.

3 participants