Skip to content

Add ROS Jazzy Compatibility#515

Merged
JWhitleyWork merged 1 commit intomainfrom
16602-jazzy-changes
Feb 26, 2026
Merged

Add ROS Jazzy Compatibility#515
JWhitleyWork merged 1 commit intomainfrom
16602-jazzy-changes

Conversation

@JWhitleyWork
Copy link
Member

@JWhitleyWork JWhitleyWork commented Feb 20, 2026

Summary

  • Adds #ifdef ROS_DISTRO_JAZZY preprocessor guards to robotiq_driver, robotiq_controllers, and moveit_studio_kinova_pstop_manager so they build on both ROS Humble and ROS Jazzy
  • Handles Jazzy API changes: on_init(HardwareComponentInterfaceParams), SwitchController field renames, ResourceManager constructor, deprecated get_value()/set_value() replacements, and ConstSharedPtr subscription callbacks
  • Adds ROS distro detection via ros_environment buildtool dependency and CMake compile definitions to each affected package

Note: Changes to the clearpath_mecanum_drive_controller and ros2_kortex submodules are excluded from this PR and should be submitted separately to their upstream repos.

Test plan

  • Build in ROS Jazzy Docker container — verified all 58 packages build with zero Kilted Kaiju deprecation warnings
  • Verify build still succeeds on ROS Humble
  • Run unit tests for robotiq_driver and robotiq_controllers

🤖 Generated with Claude Code

@JWhitleyWork JWhitleyWork self-assigned this Feb 20, 2026
@JWhitleyWork JWhitleyWork added the enhancement New feature or request label Feb 20, 2026
@JWhitleyWork JWhitleyWork added this to the 9.1.0 milestone Feb 20, 2026
@JWhitleyWork JWhitleyWork changed the title Add ROS Jazzy compatibility to non-submodule packages Add ROS Jazzy Compatibility Feb 20, 2026
@JWhitleyWork
Copy link
Member Author

Tested local builds with jazzy. Testing humble build now.

@JWhitleyWork JWhitleyWork force-pushed the 16602-jazzy-changes branch 3 times, most recently from 42cdaf3 to de28087 Compare February 20, 2026 20:42
@JWhitleyWork
Copy link
Member Author

Humble build looks good too.

@JWhitleyWork JWhitleyWork requested a review from dsobek February 24, 2026 16:35
…ages

Use #ifdef ROS_DISTRO_JAZZY preprocessor guards to support both ROS Humble
and Jazzy APIs. Changes include:
- on_init(HardwareComponentInterfaceParams) for Jazzy vs on_init(HardwareInfo) for Humble
- SwitchController field renames (activate/deactivate_controllers vs start/stop_controllers)
- ResourceManager constructor with clock and logger params for Jazzy
- get_optional<double>().value() replacing deprecated get_value() (removed in Kilted Kaiju)
- std::ignore for [[nodiscard]] set_value() returns
- ConstSharedPtr subscription callbacks (compatible with both distros)
- ROS distro detection via ros_environment buildtool_depend and CMake compile definitions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JWhitleyWork JWhitleyWork merged commit 2beea75 into main Feb 26, 2026
5 checks passed
@JWhitleyWork JWhitleyWork deleted the 16602-jazzy-changes branch February 26, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants