* 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>
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>
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>
* 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>
* 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
- 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
- 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