Skip to content

Conversation

christophfroehlich
Copy link
Contributor

Removes 556 lines of warnings in the test log:
2025-10-07T19:47:17.0507820Z 9: [WARN] [1759866436.596361910] [pal_statistics]: Unable to register entity state_interface.joint1/position in ros2_control, as the registry is not found. Try initializing it!

There are hundreds more, I just haven't understood why it does not find the registry.

@christophfroehlich christophfroehlich added backport-humble Triggers PR backport to ROS 2 humble. backport-jazzy Triggers PR backport to ROS 2 jazzy. backport-kilted Triggers PR backport to ROS 2 kilted. labels Oct 7, 2025
Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeahh, because it expects the registry to be initialized and this is only done by the CM

@christophfroehlich christophfroehlich merged commit 096da1a into master Oct 8, 2025
16 of 20 checks passed
@christophfroehlich christophfroehlich deleted the fix/pal_statistics-warnings branch October 8, 2025 07:16
mergify bot pushed a commit that referenced this pull request Oct 8, 2025
(cherry picked from commit 096da1a)

# Conflicts:
#	hardware_interface/test/mock_components/test_generic_system.cpp
mergify bot pushed a commit that referenced this pull request Oct 8, 2025
mergify bot pushed a commit that referenced this pull request Oct 8, 2025
@christophfroehlich
Copy link
Contributor Author

Yeahh, because it expects the registry to be initialized and this is only done by the CM

Yes, but for example in TestControllerManagerHWManagementSrvs there is a CM initialized, but it still does not find the registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-humble Triggers PR backport to ROS 2 humble. backport-jazzy Triggers PR backport to ROS 2 jazzy. backport-kilted Triggers PR backport to ROS 2 kilted.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants