-
Notifications
You must be signed in to change notification settings - Fork 658
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
fix: update dependencies and deprecated code for ROS 2 jazzy release #6656
fix: update dependencies and deprecated code for ROS 2 jazzy release #6656
Conversation
I think it's better to merge this PR into a new branch named "jazzy" in autoware.universe instead of "main" branch. |
Is there an official branching policy for autoware? If not, this list of changes is rather small. And actually most of it should technically also be applied on humble. |
I checked this PR is working on both humble and jazzy, and does not include jazzy specific things. |
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
Signed-off-by: f0reachARR <[email protected]>
302411d
to
c9d0e30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (for diagnostic_graph_aggregator package)
@f0reachARR Thanks 👍 I seem to be having a conflict, can you please resolve it? |
Sure! I fixed it. |
@f0reachARR Thanks 👍
|
#if __has_include(<cv_bridge/cv_bridge.hpp>) | ||
#include <cv_bridge/cv_bridge.hpp> | ||
#else | ||
#include <cv_bridge/cv_bridge.h> | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to leave comments so that we know why we need this when we look back to this code in the future.
#if __has_include(<cv_bridge/cv_bridge.hpp>) | |
#include <cv_bridge/cv_bridge.hpp> | |
#else | |
#include <cv_bridge/cv_bridge.h> | |
#endif | |
#if __has_include(<cv_bridge/cv_bridge.hpp>) | |
#include <cv_bridge/cv_bridge.hpp> // for ROS 2 Jazzy | |
#else | |
#include <cv_bridge/cv_bridge.h> // for ROS 2 Humble | |
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also fix other __has_include
codes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. This comment will help devs later. Thanks!
Similar usage of __has_include
can be found some files that is not included in this PR.
(These codes seem to have been added to support ROS 2 Iron.)
Should I add some comment to these files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think that would help. (If they are really for Jazzy or Iron)
I performed these tests.
|
Somehow locally on this branch I get:
Does this sound familiar? |
I have not seen |
I have few questions regarding the PR:
|
Here is a list of required packages that is not provided by apt (binary package).
|
ament_index_cpp was added because it was the cause of build errors. Example usage of |
I'm thinking of splitting the Pull Request because there are too many changes, is that ok? |
Ok. I would appreciate it if you could proceed. |
The |
That's a point to pay attention to! And there are many changes in |
Description
As ROS 2 jazzy will be released soon, this PR will fix dependency error and some deprecated code found in rolling build environment.
#include
to use recommended header fileNote
This change does not change code that should be fixed to support jazzy, so this PR does not mean supporting jazzy is completed.
create_client
/create_service
: In jazzy, setting it tormw_qos_*
is deprecated, but humble does not support new method.Tests performed
colcon test
on humble distribution does not show new error.colcon test
on rolling shows some errors invehicle_cmd_gate
, so it should be fixed before supporting jazzy officially.Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.