Skip to content

add support for lyrical#196

Open
christian-rauch wants to merge 11 commits into
orbbec:v2-mainfrom
christian-rauch:lyrical
Open

add support for lyrical#196
christian-rauch wants to merge 11 commits into
orbbec:v2-mainfrom
christian-rauch:lyrical

Conversation

@christian-rauch

Copy link
Copy Markdown
Contributor

This adds support for ROS 2 lyrical by mainly replacing ament_target_dependencies with the targets for target_link_libraries.

@christian-rauch christian-rauch force-pushed the lyrical branch 2 times, most recently from 42ecd92 to aeb1670 Compare May 26, 2026 13:35
@christian-rauch christian-rauch marked this pull request as draft May 26, 2026 13:47
@christian-rauch christian-rauch changed the title replace ament_target_dependencies and add support for lyrical add support for lyrical May 27, 2026
@christian-rauch christian-rauch marked this pull request as ready for review May 27, 2026 13:33
christian-rauch added a commit to mul-cps/franka-ros-deb-builder that referenced this pull request May 27, 2026
christian-rauch added a commit to mul-cps/franka-ros-deb-builder that referenced this pull request May 29, 2026
christian-rauch added a commit to mul-cps/franka-ros-deb-builder that referenced this pull request May 29, 2026
@christian-rauch

Copy link
Copy Markdown
Contributor Author

@ob-yalian Can you have a look at this PR to get the lyrical and rolling support merged?

@christian-rauch christian-rauch force-pushed the lyrical branch 2 times, most recently from d632b52 to 2d32b93 Compare June 10, 2026 12:44
christian-rauch added a commit to mul-cps/franka-ros-deb-builder that referenced this pull request Jun 11, 2026
@christian-rauch

Copy link
Copy Markdown
Contributor Author

@ob-yalian @jjiszjj @winf Can you comment on this PR or let me otherwise know, who is maintaining this repo and who I should contact?

@ob-yalian

Copy link
Copy Markdown
Collaborator

@christian-rauch Sorry for the late reply. Thanks for the reminder and for all the work you've put into this PR.

I'll review the changes as soon as possible and get back to you with feedback.

@obshenlanzhou

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 292275b83b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

diagnostic_updater::diagnostic_updater
Eigen3::Eigen
image_transport::image_transport
message_filters::message_filters

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add message_filters to CMake dependencies

This target is linked without ever finding the message_filters package: the dependencies list above does not include it, so the foreach(find_package...) loop never creates message_filters::message_filters. In a normal ROS build CMake will stop at configure time with an imported-target-not-found error before orbbec_camera can build; add message_filters to the CMake/package dependencies before linking its target.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR does not add the dependency on message_filters. It only changes the way it is used. For example, previously the header message_filters/subscriber.h was included. The PR changes this to header message_filters/subscriber.hpp from the same package. Review the full diff. There are no headers from new package dependencies.

node_, "color/image_raw", rgb_qos);
node_, "color/image_raw",
#ifdef message_filters_QoS
rclcpp::QoS{rclcpp::QoSInitialization::from_rmw(rgb_qos)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the requested rmw QoS profile

On the new message_filters_QoS path, this constructs rclcpp::QoS from only QoSInitialization::from_rmw(rgb_qos), which preserves history/depth but falls back to the default rmw profile for reliability/durability. When enable_d2c_viewer is used with color_qos or depth_qos set to SENSOR_DATA, the viewer subscriptions become reliable instead of best-effort and will not match the best-effort image publishers the user requested; pass the original rmw profile as the second rclcpp::QoS constructor argument as the rest of the codebase does.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure exactly what you mean. The same QoS, rgb_qos, was used before. Please suggest an alternative, in your opinion correct way, how to construct a rclcpp::QoS from rgb_qos.

@christian-rauch

Copy link
Copy Markdown
Contributor Author

@ob-yalian @obshenlanzhou Can you check the codex review and my responses? I am not sure how much sense they make. Can you comment on your own what the issues with the proposed changes are?

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.

3 participants