Skip to content

Optimize header includes#1674

Draft
mjcarroll wants to merge 2 commits intorollingfrom
mjcarroll/build_optimizations
Draft

Optimize header includes#1674
mjcarroll wants to merge 2 commits intorollingfrom
mjcarroll/build_optimizations

Conversation

@mjcarroll
Copy link
Member

Try not to use rclcpp/rclcpp and other heaviweight headers. Use specific headers where possible.

Signed-off-by: Michael Carroll <michael.carroll@kuka.ai>
- Introduced OBJECT library for test fixtures to eliminate redundant compilation.
- Limited concurrent link jobs via Ninja JOB_POOLS to prevent OOM.
- Trimmed header bloat by replacing full rclcpp.hpp with targeted includes.
- Refactored InteractiveMarkerControl to use MarkerFactory, reducing includes.
- Optimized RobotLink by forward-declaring URDF types.
- Resolved symbol collisions via unique namespacing to support Unity builds.
@mjcarroll mjcarroll changed the base branch from mjcarroll/remove_redundant_compilation to rolling March 6, 2026 21:55
@mjcarroll mjcarroll marked this pull request as draft March 6, 2026 22:45
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.

1 participant