-
Notifications
You must be signed in to change notification settings - Fork 736
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
Deprecating tf2 C Headers #1039
Deprecating tf2 C Headers #1039
Conversation
Signed-off-by: CursedRock17 <[email protected]>
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 also shouldn't merge this until the actual geometry2 PR has been accepted upstream
#include "tf2/LinearMath/Vector3.h" | ||
#include "tf2/LinearMath/Quaternion.h" | ||
#include "tf2/LinearMath/Vector3.hpp" | ||
#include "tf2/LinearMath/Quaternion.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.
we should really wrap this with an if/else so that the branch continues to compile on older systems (since I expect this change to tf2 will only be released into rolling and later at this point):
#if __has_include(<tf2/convert.hpp>)
#include <tf2/convert.hpp>
#else
#include <tf2/convert.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 merged the cpp headers without the deprecation in humble and jazzy, I think it's save to merge this one
With the recent backports merged, this PR should be good for review. |
Changes in rolling are released in 0.40.0 - which is staged but not yet synced - CI won't pass until the next sync happens |
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.
rolling testing is green, good to go!
Related to this pull request in
geometry2
in which we deprecated the.h
style headers in favor of.hpp
.