Skip to content

feat(msgs): vendor 11 standard ROS 2 packages for Jazzy coverage#215

Merged
YuanYuYuan merged 8 commits into
mainfrom
feat/msgs-jazzy-coverage
Jul 1, 2026
Merged

feat(msgs): vendor 11 standard ROS 2 packages for Jazzy coverage#215
YuanYuYuan merged 8 commits into
mainfrom
feat/msgs-jazzy-coverage

Conversation

@YuanYuYuan

@YuanYuYuan YuanYuYuan commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Vendors 11 standard ROS 2 message packages for Jazzy (brings common_interfaces, rcl_interfaces, geometry2, and rosbag2 to 100% Jazzy coverage)
  • Fixes hiroz-codegen action parser to treat empty Result/Feedback sections as zero-field messages (required for tf2_msgs/LookupTransform.action)
  • Adds hiroz-codegen integration tests covering all 11 new packages (parse, resolve Jazzy/Humble, type hash sanity)
  • Adds --features all_msgs check to check-bundled-msgs CI

Packages added

From ros2/common_interfaces: diagnostic_msgs, shape_msgs, stereo_msgs, trajectory_msgs, visualization_msgs, std_srvs
From ros2/rcl_interfaces: rosgraph_msgs, statistics_msgs, composition_interfaces
From ros2/geometry2: tf2_msgs (msg + srv + action)
From ros/rosbag2: rosbag2_interfaces

Dependencies

Breaking Changes

None

@YuanYuYuan YuanYuYuan force-pushed the feat/msgs-jazzy-coverage branch 2 times, most recently from 412148b to 6552b40 Compare June 30, 2026 17:51
@vihaan-kovari

Copy link
Copy Markdown
Contributor

Looks good. Thank you.

vihaan-kovari and others added 8 commits July 1, 2026 13:54
- Parse all new packages (tf2_msgs, visualization_msgs, rosgraph_msgs,
  trajectory_msgs, diagnostic_msgs, shape_msgs, stereo_msgs,
  statistics_msgs, composition_interfaces, std_srvs, rosbag2_interfaces)
- Verify LookupTransform.action empty Feedback parses as zero-field message
- Resolve in both Humble and Jazzy resolver modes
- Check all new types produce well-formed RIHS01_ hashes

Also fix missing trailing newline in dependencies.json.
test_msgs::BasicTypes has a wstring field that is skipped by codegen,
but Nested* types referencing it still get generated, causing E0412
when all_msgs is enabled. test_msgs is an internal ROS 2 test package
and does not belong in a production all_msgs umbrella.
Add comment explaining why test_msgs is excluded from all_msgs (wstring
field causes codegen to skip BasicTypes, but Nested* still references it).

Replace unwrap_or_default() + skip-if-empty pattern in the action hash
test with unwrap_or_else(panic!) — result/feedback are always Some after
the parser fix, so silent skipping would mask regressions.
@YuanYuYuan YuanYuYuan force-pushed the feat/msgs-jazzy-coverage branch from 0ef6220 to dd8c969 Compare July 1, 2026 05:54
@YuanYuYuan

Copy link
Copy Markdown
Collaborator Author

The CI is finally green. Thanks again @vihaan-kovari!

@YuanYuYuan YuanYuYuan merged commit 5fd3208 into main Jul 1, 2026
25 checks passed
@YuanYuYuan YuanYuYuan deleted the feat/msgs-jazzy-coverage branch July 1, 2026 06:24
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.

2 participants