-
Notifications
You must be signed in to change notification settings - Fork 113
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
Stop using python_cmake_module. #93
Conversation
@clalancette thank you for doing this! It looks like this PR removes the usage of |
That's a really good question. Most of the other places I did this already had separate calls to |
Ah, I see. So it turns out that deep in the bowels of But it doesn't seem right to depend on that; theoretically, someday Relatedly, I realize that this package is missing a dependency on |
So we discussed this. First, it is our feeling that downstream packages that just depend on The other question had to do about whether we should explicitly do So I think this PR is generally ready to go. It still needs CI run on it, and we'll almost certainly have to merge in ros2/ci#755 first, but I think it is otherwise OK. @jonbinney let me know what you think. |
@clalancette that sounds good to me and this seems mergeable, but I realized this isn't actually one of the packages I maintain so @mabelzhang should make the call on merging. |
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, will run CI after the ros2/ci PR gets merged
5377535
to
3969274
Compare
3969274
to
cb69be1
Compare
cb69be1
to
3969274
Compare
We really don't need it anymore, and can just use the builtin find_package(Python3). Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
3969274
to
3a2abc7
Compare
CI for this (along with all of the rest of the changes needed) is in ros2/ros2#1524 (comment) |
clean up eigen export eigen as dependency laser_geometry should export Eigen3 include dirs fix includes for case and type Add visibility header modified from rclcpp Make it compile, remove PointCloud support, and remove boost - Compiles on Windows with VS2015/VS2017 - Compiles on Mac with clang - Compiles on Linux with gcc - Removed PointCloud support as this is deprecated and might not be needed in ROS 2 - Remove boost as per ROS 2 development guidelines Build statically but position independent code - This is necessary to link against shared libraries on Linux Add tests (remove superfluous test cases) and linters - Code now lints with standard ament linters - Added test cases for LaserScan to PointCloud2 - Removed tests that were commented out + tests for LaserScan to PointCloud Uncrustify Use correct time unit Fix cpplint Disable second test for now Test needs a correct lookupTransform It would be best to make that call mockable, but that's not possible with tf2::BufferCore Fix Windows warnings Remove several test cases - On not so fast machines, tests run into timeouts due to exponential explosion: test setup makes for about 7000 test cases - Keep edge cases Remove angle dependency as no longer necessary Add Copyright Fix package.xml Add TODO for PointCloud 1 support Build dynamically using visibility control Make build export symbols Increase tests timeout (needed for Mac) Relicense visibility control file to BSD Already relicensed in URDF repo. Create LICENSE (ros-perception#33) (ros-perception#34) fix eigen dependency name (ros-perception#36) fixup package.xml changelogs 2.0.0 Use eigen3_cmake_module Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> 2.1.0 Signed-off-by: Michael Carroll <michael@openrobotics.org> Drop CMake extras redundant with eigen3_cmake_module. (ros-perception#50) Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> code style only: wrap after open parenthesis if not in one line (ros-perception#52) Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com> use target_include_directories Signed-off-by: Karsten Knese <karsten@openrobotics.org> use ament_export_targets() Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com> Changelog. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> 2.2.0 increase test timeout Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com> update maintainers Signed-off-by: Mabel Zhang <mabel@openrobotics.org> Use rclcpp::Duration::from_seconds (ros-perception#72) Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com> Changelog. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> 2.2.1 Export sensor_msgs, tf2, and rclcpp as dependencies Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> changelog Signed-off-by: Mabel Zhang <mabel@openrobotics.org> 2.2.2 Update python code and tests for ros2 (ros-perception#80) * Enable projection nose test using ament * Update python package and tests for ros2 * Remove unneeded python setup file * Use pytest instead of nose Nose was outputting xml that xUnit (jenkins plugin) couldn't read. * Fix pytest warnings Fix building on running on Windows Debug. (ros-perception#82) * Fix building on running on Windows Debug. In particular, we need to set the python executable properly when running on Windows Debug. While we are in here, we also fix up some dependencies in the package.xml and CMakeLists.txt. We also have to remove WERROR ON, due to some Python warnings that are outside of our control. Finally, we heavily reduce the number of tests being run here so that the tests complete in a reasonable amount of time, even on (slow) Windows debug. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> 2.3.0 Fix Duration casting issue leading to no undistortion Signed-off-by: Marco Lampacrescia <Marco.Lampacrescia@de.bosch.com> Explicit cast to double to prevent loss of precision Signed-off-by: Marco Lampacrescia <Marco.Lampacrescia@de.bosch.com> Install headers to include/${PROJECT_NAME} (ros-perception#86) Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> Changelog. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> 2.4.0 Mirror rolling to ros2 Update Maintainers (ros-perception#88) * Add Dharini Dutia to CODEOWNERs file Signed-off-by: Audrow Nash <audrow@openrobotics.org> Update laser_geometry to C++17. (ros-perception#90) The main reason to do this is so that we can compile laser_geometry with the clang static analyzer. As of clang++-14 (what is in Ubuntu 22.04), the default still seems to be C++14, so we need to specify C++17 so that new things in the rclcpp headers work properly. Further, due to reasons I don't fully understand, I needed to set CMAKE_CXX_STANDARD_REQUIRED in order for clang to really use that version. So set this as well. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> Changelog. Signed-off-by: Michael Carroll <michael@openrobotics.org> 2.5.0 Changelog Signed-off-by: Chris Lalancette <clalancette@gmail.com> 2.6.0 Switch to target_link_libraries. (ros-perception#92) This allows us to hide more of the libraries from downstream consumers. While we are in here, do slight cleanups so it is more clear which libraries are depended on. Signed-off-by: Chris Lalancette <clalancette@gmail.com> Changelog. Signed-off-by: Chris Lalancette <clalancette@gmail.com> 2.7.0 Changelog. Signed-off-by: Marco A. Gutierrez <marcogg@marcogg.com> 2.8.0 Added common linters (ros-perception#96) Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Changelog. Signed-off-by: Chris Lalancette <clalancette@gmail.com> 2.8.1 Stop using python_cmake_module. (ros-perception#93) * Stop using python_cmake_module. We really don't need it anymore, and can just use the builtin find_package(Python3). * Add in missing ament_cmake_python dependency. Signed-off-by: Chris Lalancette <clalancette@gmail.com>
We really don't need it anymore, and can just use the builtin find_package(Python3).
This must be merged before ros2/ros2#1524 ; see that pull request for more information about this change.