-
Notifications
You must be signed in to change notification settings - Fork 225
Deprecate C Headers #720
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
Deprecate C Headers #720
Conversation
Signed-off-by: CursedRock17 <[email protected]>
Signed-off-by: CursedRock17 <[email protected]>
Signed-off-by: CursedRock17 <[email protected]>
ahcorde
left a comment
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.
| include/tf2/LinearMath/Scalar.h | ||
| include/tf2/LinearMath/Transform.h | ||
| include/tf2/LinearMath/Vector3.h | ||
| include/tf2/LinearMath/Matrix3x3.hpp |
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.
you should keep here both the h and the hpp
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.
you should keep here both the
hand thehpp
Agreed.
|
Besides some of @ahcorde 's inline comments, we will also need to have PRs to the rest of the ROS 2 core to use the |
Signed-off-by: CursedRock17 <[email protected]>
|
Yeah I figured we would have to extend PRs to various libraries, I have one linked from |
|
Would it make sense to provide This would mean all projects that do not have a branch per release can use this syntax already. Preventing ugly statements like this everywhere: https://github.com/autowarefoundation/autoware.universe/blob/9bd0f77c255edcff129ff08d190a5fdd8c45b6dc/localization/yabloc/yabloc_common/src/pub_sub.cpp#L18 For rolling we can keep the deprecation flag, not for older distros. |
|
Yeah I don't see much of a compile downside, just a weirder file structure for older distributions. I assume we would just never phase out the Also there already seems to be some consensus in the other core repositories:
|
|
@ahcorde Could you please try to rerun CI? |
Signed-off-by: CursedRock17 <[email protected]> Signed-off-by: Lucas Wendland <[email protected]>
Signed-off-by: CursedRock17 <[email protected]> Signed-off-by: Lucas Wendland <[email protected]>
Related to this [pull request](ros2/geometry2#720) in `geometry2` in which we deprecated the `.h` style headers in favor of `.hpp`. Signed-off-by: CursedRock17 <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Related to this [pull request](ros2/geometry2#720) in `geometry2` in which we deprecated the `.h` style headers in favor of `.hpp`. --------- Signed-off-by: CursedRock17 <[email protected]>
What's the story on humble? Our work environment is now broken from the docker images supplied from Currently, in this broken state, we have the following installed.
In tf2_eigen.hpp, it includes Then, the files that exist: Where's the deprecation period and how did this get all the way through the build farm into a docker image with debians that don't work together. Why isn't Sorry to be blunt, but this is just frustrating. |
These aren't the same versions, which is why you are having trouble here. The debians that are released should all match as 0.25.11; the fact that they aren't probably means your local scripts are missing an apt-get update somewhere (i.e. it is using a cached layer with tf2, and a new layer with tf2_eigen). |
|
Thanks. If there's any changes we could do to ensure that we fail at configure time rather than build time, I'd be happy to contribute those. |
Specifically, for versions before ros2/geometry2#720 was merged.
Quaternion.h was deprecated in ros2/geometry2#720 and removed in ros2/geometry2#789 . This PR updates base_realsense_node.h to use Quaternion.hpp Signed-off-by: Shane Loretz <[email protected]>
Quaternion.h was deprecated in ros2/geometry2#720 and removed in ros2/geometry2#789 . This PR updates base_realsense_node.h to use Quaternion.hpp Signed-off-by: Shane Loretz <[email protected]>
This pull request is an attempt to help #259, specifically the first task
Since it's now post-Foxy I did something similar to this
message_filterspull request, which was to simply deprecate a.hfile with a warning, include the.hppfile, and just copy paste the logic from the.hfile into the.hppfile. There were some slight formatting changes that had to be made to makecpplintanduncrustifyhappy. There is currently a copyrighting problem within theLinearMathfiles since they seem to be from thebulletlibrary. I would like to know where we should move from this point when it comes to those files.