-
Notifications
You must be signed in to change notification settings - Fork 195
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
Style fixup in tf2_ros. #325
Conversation
@ros-pull-request-builder retest this please |
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
6e6d115
to
86dad64
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
I don't know if it makes more sense to include find_package(ament_lint_auto REQUIRED)
and exclude some tests using:
list(APPEND AMENT_LINT_AUTO_EXCLUDE
ament_cmake_copyright
)
and configure the other ones using:
set(ament_cmake_cppcheck_LANGUAGE c++)
set(ament_cmake_uncrustify_ADDITIONAL_ARGS LANGUAGE c++)
ament_lint_auto_find_test_dependencies()
I don't really feel strongly about it either way. Since you approved, I'm assuming you don't either :). So I'm just going to leave it for now, hopefully we can go back to using Here is CI for this: |
All right, CI is green, merging. Thanks again for the review! |
FYI, it looks like these changes removed an include for Anywhere including Leaving this here for posterity if others track back to this for a fix. |
That's unfortunate.
Yeah, I went through here pretty finely and did "include-what-you-use" on everything. That included removing things that weren't direct dependencies in the header files. Ultimately, the downstream consumers probably shouldn't have been relying on this behavior, but it was hard to tell before. At least it will be clear now. I hope the breakage isn't too widespread.
Thanks, appreciate you taking the time to track it back here and leave a note. |
* Include tf2_ros/buffer.h where needed After some cleanup in ros2/geometry2#325, the header is no longer being transitively included. Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Fix deprecated usage of FutureReturnCode The namespace rclcpp::executors:: was deprecated in Foxy and removed in ros2/rclcpp#1327. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Chris Lalancette clalancette@openrobotics.org
This is a very large PR, but it enables the linters in the
tf2_ros
package, and then fixes all of the problems that are pointed out. There should be no functional change from this PR.