Fix: Silence tl_expected and rmw_qos_profile_t deprecation warnings - #862
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 (1)
Included review availability: 4 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request updates expected-library includes and package dependencies, changes protective-stop service QoS construction, and updates three external dependency references. ChangesExpected header updates
Protective-stop service QoS
External dependency references
Suggested reviewers: Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (3 passed)
Full details: Human Review CheckExplanation The PR updates
Comment |
|
b413cac to
e3d9ad7
Compare
|
| <depend>moveit_studio_vision_msgs</depend> | ||
| <depend>moveit_studio_vision</depend> | ||
| <depend>moveit_pro_behavior</depend> | ||
| <depend>libexpected-dev</depend> |
There was a problem hiding this comment.
In other places we use the tl_expected dependency, e.g: https://github.com/PickNikRobotics/moveit_pro/blob/v10.0/src/kinematics/path_ik/package.xml#L20
And include as tl_expected/expected.hpp, e.g: https://github.com/PickNikRobotics/moveit_pro/blob/e0dbb7aecf00ea93e48f629d4ae744f92955aaee/src/kinematics/path_ik/include/path_ik/cartesian_timing.hpp#L14
Assuming those don't throw a warning, I think we should do the same here for consistency
There was a problem hiding this comment.
I am also changing them here: https://github.com/PickNikRobotics/moveit_pro/pull/21708 -- they do emit warnings while building the main repo too.
e1bdcd5
e3d9ad7 to
e1bdcd5
Compare
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>
e1bdcd5 to
d123213
Compare
|
|
[written by AI]
A fresh
moveit_pro buildprints deprecation warnings from several 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.fanucandros2_kortexsubmodules were pinned before their own warning fixes merged. Bumped both to the merge commits of Bump cmake_minimum_required to 3.16 to silence CMake deprecation warnings fanuc#1 (cmake_minimum_required3.3 to 3.16 across 21 packages) and Fix: Set CMP0135 to NEW to silence FetchContent timestamp warnings ros2_kortex#6 (aCMP0135policy guard soFetchContentstops warning about archive extraction timestamps). Both are fast-forwards carrying nothing but those fixes.moveit_studio_ur_pstop_managerhad the samermw_qos_profile_tproblem. It was fixed upstream in Use rclcpp::QoS overloads for service and client creation moveit_studio_ur_pstop_manager#4, but this workspace could not reach it, because it pinsphoebe_wsandphoebe_wspins that repo. fix(ur_pstop_manager): point submodule at the rclcpp::QoS deprecation fix (no-dups) phoebe_ws#41 moved the inner pin, and thephoebe_wssubmodule here moves to that merge. It also picks up three commits this workspace was already behind on, namely a licensing sweep, removal of a dead CLIPSeg subtree fromphoebe_sim, and deletion of an unusedewellix_descriptionlaunch file.Release notes
None