Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROS2] reconfigurable transport scoped parameters for CompressedDepthPublisher (backport #145) #148

Merged
merged 9 commits into from
May 7, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented May 7, 2023

This is an automatic backport of pull request #145 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Marcel Zeilinger and others added 9 commits May 7, 2023 14:10
- runtime reconfiguration
- <image>.<transport>.<param> as future replacement of  <image>.<param>
  - e.g. `image.compressedDepth.png_level` instead of `image.png_level`
- support both ways for now
- emit deprecation warnings on setting through non-transport scoped parameter
- synchronize deprecated changes to new ones
  - this is necessary for dynamic reconfigure
- add ROS1 like ranges for parameters (min/max)
- some cleanup
  - remove unnecessary includes, using statements, etc.

Default png_level was left the same as for compressed_image_transport
- this is OpenCV default (3)
- the deprecated paramterer name clashes here with compressed_image_transport
- I don't really want to consider if there is a race between plugin loading for default value
- side notes:
  - in ROS2 default was 9
    - 9 is not usable for real-time processing on most machines
  - in ROS1 default is now 1
  - 3 is typically usable for real-time processing
  - this should probably be made even with ROS1 after removing deprecated parameters

Related to #140
Builds up on #110

(cherry picked from commit dfdf48b)
Co-authored-by: Kenji Brameld <[email protected]>
(cherry picked from commit 32e8b81)
Co-authored-by: Kenji Brameld <[email protected]>
(cherry picked from commit 136eb45)
Co-authored-by: Kenji Brameld <[email protected]>
(cherry picked from commit d500eae)
For:
- compressed_depth_image_transport
- compressed_image_transport

(cherry picked from commit 1e7bad4)
For already declared attributes those reads do nothing

(cherry picked from commit b604913)
Requested in #145

(cherry picked from commit 992cc64)
@ijnek ijnek merged commit a930f96 into iron May 7, 2023
@ijnek ijnek deleted the mergify/bp/iron/pr-145 branch May 7, 2023 14:16
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.

2 participants