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
This commit is contained in:
Martin Idel
2018-03-14 13:23:00 +01:00
parent c6c6e833fe
commit b88330b64c
3 changed files with 113 additions and 434 deletions

View File

@@ -21,9 +21,9 @@ find_package(Eigen3 REQUIRED)
# Eigen3 uses non-standard variable for
# include dirs (case and name): EIGEN3_INCLUDE_DIR.
if(NOT Eigen3_INCLUDE_DIRS)
if (EIGEN3_INCLUDE_DIR)
if(EIGEN3_INCLUDE_DIR)
message(STATUS "append ${EIGEN3_INCLUDE_DIR} to (${laser_geometry_INCLUDE_DIRS})")
list(APPEND laser_geometry_INCLUDE_DIRS ${EIGEN3_INCLUDE_DIR})
list(APPEND laser_geometry_INCLUDE_DIRS ${EIGEN3_INCLUDE_DIR})
message(STATUS "laser_geometry_INCLUDE_DIRS=${laser_geometry_INCLUDE_DIRS}")
else()
message(FATAL_ERROR "Eigen3_INCLUDE_DIRS not found")