forked from ethz-asl/kalibr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Buildsystem fixes. Deactivated a few broken unittests.
- Loading branch information
Showing
46 changed files
with
634 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Schweizer-Messer/numpy_eigen/cmake/numpy_eigen-extras.cmake.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
find_package(Eigen3 REQUIRED) | ||
include_directories(${EIGEN3_INCLUDE_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
find_package(Eigen3 REQUIRED) | ||
include_directories(${EIGEN3_INCLUDE_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
email="[email protected]">Paul Furgale</maintainer> | ||
<license>BSD</license> | ||
<buildtool_depend>catkin</buildtool_depend> | ||
<buildtool_depend>catkin_simple</buildtool_depend> | ||
|
||
<build_depend>sm_common</build_depend> | ||
<build_depend>sm_eigen</build_depend> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,52 @@ | ||
cmake_minimum_required(VERSION 3.0.2) | ||
project(aslam_cameras_april) | ||
|
||
find_package(catkin_simple REQUIRED) | ||
catkin_simple() | ||
|
||
ADD_DEFINITIONS(-DASLAM_USE_ROS) | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
sm_python | ||
aslam_cameras | ||
ethz_apriltag2 | ||
numpy_eigen | ||
sm_common | ||
sm_logging | ||
sm_boost | ||
sm_eigen | ||
python_module | ||
) | ||
find_package(OpenCV REQUIRED) | ||
find_package(Boost REQUIRED COMPONENTS serialization system) | ||
find_package(Eigen3 REQUIRED) | ||
|
||
ADD_DEFINITIONS(-DASLAM_USE_ROS ) | ||
include_directories(${EIGEN3_INCLUDE_DIRS}) | ||
catkin_package( | ||
LIBRARIES ${PROJECT_NAME} | ||
INCLUDE_DIRS include | ||
DEPENDS OpenCV Boost | ||
) | ||
|
||
include_directories(include ${catkin_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR} ${Boost_INCLUDE_DIRS}) | ||
|
||
cs_add_library(${PROJECT_NAME} | ||
add_library(${PROJECT_NAME} | ||
src/GridCalibrationTargetAprilgrid.cpp | ||
) | ||
|
||
find_package(Boost REQUIRED COMPONENTS serialization system) | ||
|
||
) | ||
target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS} ${Boost_LIBRARIES}) | ||
|
||
add_python_export_library(${PROJECT_NAME}_python python/aslam_cameras_april | ||
src/module.cpp | ||
) | ||
target_link_libraries(${PROJECT_NAME}_python ${PROJECT_NAME}) | ||
|
||
cs_install() | ||
cs_export() | ||
################## | ||
## Installation ## | ||
################## | ||
|
||
install(TARGETS ${PROJECT_NAME} | ||
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
|
||
## Mark cpp header files for installation | ||
install(DIRECTORY include/ | ||
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.