diff --git a/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication.py b/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication.py index d11bc16ab..8a185f89e 100755 --- a/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication.py +++ b/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication.py @@ -27,7 +27,7 @@ from bitbots_team_communication.converter.robocup_protocol_converter import RobocupProtocolConverter, TeamColor -class HumanoidLeagueTeamCommunication: +class TeamCommunication: def __init__(self): self._package_path = get_package_share_directory("bitbots_team_communication") self.node = Node("team_comm", automatically_declare_parameters_from_overrides=True) @@ -240,7 +240,7 @@ def get_current_time(self) -> Time: def main(): rclpy.init(args=None) - HumanoidLeagueTeamCommunication() + TeamCommunication() if __name__ == "__main__": diff --git a/bitbots_team_communication/test/converter/test_state_to_message_converter.py b/bitbots_team_communication/test/converter/test_state_to_message_converter.py index 44d3b7ebd..5fd888a4d 100644 --- a/bitbots_team_communication/test/converter/test_state_to_message_converter.py +++ b/bitbots_team_communication/test/converter/test_state_to_message_converter.py @@ -22,7 +22,7 @@ import bitbots_team_communication.robocup_extension_pb2 as Proto # noqa: N812 from bitbots_msgs.msg import Strategy -from bitbots_team_communication.bitbots_team_communication import HumanoidLeagueTeamCommunication +from bitbots_team_communication.bitbots_team_communication import TeamCommunication from bitbots_team_communication.converter.robocup_protocol_converter import RobocupProtocolConverter, TeamColor own_team_id = 1 @@ -305,7 +305,7 @@ def state_with_gamestate(state): @pytest.fixture def state(): - state = Mock(HumanoidLeagueTeamCommunication) + state = Mock(TeamCommunication) state.player_id = 2 state.team_id = own_team_id state.gamestate = None