Fix: Silence tl_expected and rmw_qos_profile_t deprecation warnings - #862
Fix: Silence tl_expected and rmw_qos_profile_t deprecation warnings#862fdavulcu wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: 9 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request updates four expected-library include paths, adds the required package dependencies, and replaces the default ROS 2 service QoS profile with ChangesExpected header updates
Protective-stop service QoS
Suggested reviewers: Merge Risk: ⚪ Minimal · up to This PR only updates deprecated API usage and declares the corresponding dependency, with no actionable merge-blocking risk remaining beyond normal checks. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Comment |
|
Declare libexpected-dev in example_behaviors so the tl/expected.hpp include resolves through find_package(tl-expected) rather than the compiler's default include path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
b413cac to
e3d9ad7
Compare
|
[written by AI]
A fresh
moveit_pro buildprints deprecation warnings from two sources in this workspace:example_behaviorsincludes the deprecatedtl_expected/expected.hppwrapper, which ROS Jazzy'stl_expected1.3.1 flags with a#pragma messageon every include. Switched to<tl/expected.hpp>fromlibexpected-dev, the replacement the deprecation notice recommends. The header ships in the MoveIt Pro runtime image, so this builds against current releases. The package declares the dependency it now consumes directly:<depend>libexpected-dev</depend>,find_package(tl-expected REQUIRED), an explicittl::expectedlink, and theament_export_dependenciesentry (the system config exports only the imported target, soament_target_dependenciescannot carry it).moveit_studio_kinova_pstop_manageruses thermw_qos_profile_toverloads ofcreate_service/create_client, deprecated in favor ofrclcpp::QoS. Switched torclcpp::ServicesQoS(), which wraps the same profile.Release notes
None