Commit Graph

43 Commits

Author SHA1 Message Date
Chris Lalancette
e95ea15102
Update laser_geometry to C++17. (#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>
2023-01-31 14:37:40 -05:00
Shane Loretz
810d01c4a4
Install headers to include/${PROJECT_NAME} (#86)
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
2022-02-03 15:10:19 -08:00
Chris Lalancette
bfe1c494fd
Fix building on running on Windows Debug. (#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>
2021-09-09 14:59:07 -04:00
Jonathan Binney
af5bdc2874
Update python code and tests for ros2 (#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
2021-08-10 21:11:23 -04:00
Michel Hidalgo
3ae3c3f604 Export sensor_msgs, tf2, and rclcpp as dependencies
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
2021-05-07 17:27:40 -03:00
Dirk Thomas
5dd0cac391
increase test timeout
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
2020-07-14 09:39:27 -07:00
Dirk Thomas
4bb30461b5
use ament_export_targets()
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
2020-04-08 14:39:47 -07:00
Karsten Knese
2d84b65ca3 use target_include_directories
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
2020-02-03 11:51:54 -08:00
Michel Hidalgo
c2bdad5f01 Drop CMake extras redundant with eigen3_cmake_module. (#50)
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
2020-01-27 10:52:30 -08:00
Shane Loretz
05b46e1b46 Use eigen3_cmake_module
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
2019-08-06 11:40:36 -07:00
Alessandro Bottero
5f2d6df121 Increase tests timeout (needed for Mac) 2018-03-27 18:09:03 +02:00
Martin Idel
e852926c02 Make build export symbols 2018-03-27 09:20:47 +02:00
Martin Idel
b23632b018 Build dynamically using visibility control 2018-03-27 09:13:34 +02:00
Martin Idel
c029efcdd6 Remove angle dependency as no longer necessary 2018-03-27 09:06:28 +02:00
Martin Idel
b88330b64c 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
2018-03-27 09:06:28 +02:00
Alessandro Bottero
c6c6e833fe Build statically but position independent code
- This is necessary to link against shared libraries on Linux
2018-03-27 09:06:28 +02:00
Alessandro Bottero
8fb9c51bf8 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
2018-03-27 09:06:28 +02:00
Brian Fjeldstad
5cd2f1c9b6 laser_geometry should export Eigen3 include dirs 2018-01-18 12:10:52 -08:00
Brian Fjeldstad
746cafcb0f export eigen as dependency 2018-01-12 19:32:36 -08:00
Brian Fjeldstad
f70723611c clean up eigen 2018-01-12 11:18:51 -08:00
Brian Fjeldstad
0615c3532a use find_package to get Boost dependency 2018-01-09 12:17:14 -08:00
Brian Fjeldstad
d39ce225c9 Make laser_geometry build for ros2 (on windows 10) 2018-01-09 09:26:19 -08:00
Vincent Rabaud
8d916f93d5 provide support for tf2 2014-09-28 16:18:23 +02:00
enriquefernandez
0ed1dafb14 adds Python projection test
Conflicts:
	package.xml
2014-06-08 04:51:46 +02:00
enriquefernandez
d4785e879a adds python port (only simple projection) 2014-06-08 04:50:51 +02:00
William Woodall
390a2d4767 [style] fixup cmake and package.xml 2014-02-23 11:05:08 -08:00
William Woodall
cc27bb12ba Added dependency on cmake_modules 2014-02-23 11:00:41 -08:00
Lukas Bulwahn
4c1945fb38 check for CATKIN_ENABLE_TESTING 2013-10-13 17:41:58 +02:00
Dirk Thomas
b85cf586c6 fix case of Eigen find_package name 2013-09-13 14:20:11 -07:00
David Gossow
e8fba896fa [bugfix] export boost and eigen via DEPENDS 2013-06-28 15:08:54 -07:00
David Gossow
22aa11dc59 [bugfix] export boost and eigen include dirs 2013-03-08 09:39:41 -08:00
William Woodall
042e9f77d8 CMake clean up 2012-12-14 13:47:44 -08:00
Dave Hershberger
1ab017c6d9 Tidied up CMakeLists.txt based on Dirk's recommendations. 2012-10-16 15:47:44 -07:00
Dave Hershberger
8d1e77dfe5 added install rules to CMakeLists.txt needed for catkinization. 2012-10-10 14:14:36 -07:00
Dave Hershberger
fb43f21a81 catkinized 2012-10-09 15:26:16 -07:00
Vincent Rabaud
6cebfa088a use the new bullet and eigen conventions
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@38342 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-12-13 22:29:05 +00:00
Eitan Marder-Eppstein
e5a51cf5c3 Removing laser_scan_geometry files from the package
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35239 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-14 08:05:50 +00:00
Eitan Marder-Eppstein
3f5ba8926a Adding support for PointCloud2 to the laser projector, removing a bunch of deprecated functions, and fixing a ton of warnings
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35237 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-14 08:05:45 +00:00
Radu Rusu
9287eff456 added the new LaserScan->PointCloud2 geometry class
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@34348 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2010-11-30 02:13:43 +00:00
Rob Wheeler
77f5de54ee Remove use of deprecated rosbuild macros
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@25975 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-12-01 01:20:33 +00:00
Jeremy Leibs
136cf0c3b8 Pulling laser processing out of laser geomtry for 0.9.0 release.
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@24513 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-09-25 20:29:41 +00:00
Jeremy Leibs
f7b67fb1b8 Deprecating preservative and fixing up documentation.
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@24323 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-09-22 21:26:12 +00:00
Jeremy Leibs
58e93bb190 Merging in remaining missing contents for laser_piple that svn ignored on the first merge.
git-svn-id: https://code.ros.org/svn/ros-pkg/pkg/trunk/stacks/laser_pipeline@23510 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-09-01 08:18:14 +00:00