-
Notifications
You must be signed in to change notification settings - Fork 676
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
bag_time_manager_rviz_plugin fails to build -Werror=deprecated-declarations #2782
Comments
@esteve @kenji-miyake @yukkysaito |
@taikitanaka3 @esteve But my opinion is not to support rolling yet as it increases maintenance cost. Is there any reason you want to support rolling? |
@esteve I've made some changes to make maintenance costs minimum for this PR on following commit: c79c2b1 @isamu-takagi @taikitanaka3 do you think this would be acceptable? The point is to make it easier to update for the future and at the same time have small maintenance costs in general. |
@xmfcx |
Why are you against making some packages future proof? This change is very minimal and it doesn't break anything outside. Creating a rolling branch will take too long and is not one of our goals in general for now. This change doesn't mean we should make everything work with rolling. It just makes one package future-proof. |
I prefer to close this issue and the PR without merging it than creating a new branch. In my experience maintaining multiple branches is more costly than having separate code paths for different versions of ROS 2 (as long as they are minimal), so I'm ok with waiting until Autoware supports ROS 2 Iron to apply this change. |
yes it's better to assign someone responsible for supporting other versions if we do so. |
@taikitanaka3, @esteve means, if he had to choose between "closing this issue" and "creating a rolling branch" he would choose to close this issue. But we still would like to merge this feature. |
I'll leave it up to you guys if you want to merge it or close it, I'm fine either way, but I'd rather not create a separate branch for |
@xmfcx |
@esteve |
If this change makes it enough for this package to run with
It is for making this package compile with This could be made for more packages in future too, if necessary. As long as it doesn't increase maintenance costs too much. |
If this is for future-proof.I recommend to make a unit test for version management to alert compatibility in autoware common package, not in one rviz plugin package. What do you think about it? |
I don't think it's necessary to do now. What is the benefit to support rolling? Since rolling is development version and includes breaking changes, I can't discover advantage in compatibility. Isn't it enough to deal with it all at once when we decide to support iron? And isn't it easier to understand the difference that way? |
From what we discussed in the Autonomy Software WG, I thought the conclusion was that we can merge this PR since the PR is there and it won't break the build in Humble. However, unless there are large demands from users that would like to use Autoware with rolling, I think we don't have to keep Autwoare maintained for rolling because there could be breaking changes everyday in upstream. |
We don't need to maintain compatibility with rolling for every package, this issue is not about that. It's for just one package. It could be for another package too.
Maybe for some reason, someone wanted to use a specific package with rolling, this is just for that. This just helps maintaining compatibility without adding much maintenance cost.
To me there is no difference. If anything, having some packages be compatible with both humble and rolling will make the transition easier in the future. In general my reason for discussing this is not only for this particular PR. I saw some resistance for sort of similar PRs:
I think we should be a bit more accepting PRs to the Universe, especially when they
|
I'm sorry to be late. Q: Should Autoware support Rolling? I believe, Autoware doesn't need to "ensure" builds or behaviors with Rolling, but PRs for Rolling can be merged unless they don't break Humble. Q: Should we merge this PR? If yes, how? If API updates are only required for this single node, I think as-is is acceptable. (But I suppose it's not.) If not, we should avoid merging these kinds of PRs separately.
The comment above is related to this part by @mitsudome-r. Q. Are there alternative approaches? If we just want to pass Rolling builds, I think we can pass Also, I agree with @xmfcx -san's comments, but there is a small additional comment. @xmfcx @mitsudome-r @esteve @isamu-takagi @taikitanaka3 What do you think about it? |
@xmfcx I agree if someone finds this plugin useful and wants use it alone with rolling. But I disagree if it's just for compatibility and future proof testing. I know the differences are small, but the maintainers need to manage extra test code. In that case, it is better to create test or sample code separately. |
Just FYI, I'll link Google's recommendation about deprecation. |
@kenji-miyake Totally agree. The point is that some nodes also need the same fix. I still don't understand why only this package needs to be changed. |
From my point of view, because @esteve has created this PR, he must have had his reasons. And it just helps the package being future proof, that was enough for me to decide. I also don't know why he tried to use this package on rolling. |
@xmfcx |
@isamu-takagi @kenji-miyake @xmfcx @mitsudome-r |
The only reason I submitted this PR is because I mistakenly ran the Debian generation action for I believe that small incremental changes are easier to maintain that full migrations in separate branches, but as I said, I'm fine with closing this ticket and the associated PR if there's no consensus on whether the change should be merged or not. |
Checklist
Description
The following lines use a deprecated API (
rmw_qos_profile_t
) which makesbag_time_manager_rviz_plugin
fail to build:https://github.com/autowarefoundation/autoware.universe/blob/main/common/bag_time_manager_rviz_plugin/src/bag_time_manager_panel.cpp#L69-L74
Expected behavior
bag_time_manager_rviz_plugin
builds successfully with-Werror=deprecated-declarations
enabledActual behavior
bag_time_manager_rviz_plugin
fails to build with-Werror=deprecated-declarations
enabledSteps to reproduce
Add
-Werror=deprecated-declarations
as a compiler flagVersions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: