This PR adds forward compatibility support for ROS Humble for the rclcpp_lifecycle::LifecyclePublisher. The LifecyclePublisher class uses a different base class in Humble than it does in Foxy. The base class from Foxy (rclcpp_lifecycle::LifecyclePublisherInterface) was removed between Foxy and Humble.
We still need to support both ROS releases for now, so we need a shim that can switch conditionally between the two APIs.
PR Details
Description
This PR adds forward compatibility support for ROS Humble for the
rclcpp_lifecycle::LifecyclePublisher
. TheLifecyclePublisher
class uses a different base class in Humble than it does in Foxy. The base class from Foxy (rclcpp_lifecycle::LifecyclePublisherInterface
) was removed between Foxy and Humble.We still need to support both ROS releases for now, so we need a shim that can switch conditionally between the two APIs.
Related GitHub Issue
Related Jira Key
Closes CF-811 CF-809
Motivation and Context
Needed for C1T development
How Has This Been Tested?
Compiled with both Foxy and Humble. Humble has build errors, but those are unrelated to this change.
Types of changes
Checklist: