File tree Expand file tree Collapse file tree 8 files changed +16
-36
lines changed Expand file tree Collapse file tree 8 files changed +16
-36
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ option(BUILD_EXAMPLES "Compile all examples for ct" false)
4
4
option (BUILD_HYQ_FULL "Compile all examples for HyQ (takes long, should use clang)" false )
5
5
option (BUILD_HYQ_LINEARIZATION_TIMINGS "Build linearization timing tests for HyQ (takes long, should use clang)" false )
6
6
option (BUILD_HYA_LINEARIZATION_TIMINGS "Build linearization timing tests for HyA (takes long, should use clang)" false )
7
- option (USE_LAPACKE "Use lapacke bindings for Eigen" false )
8
- option (USE_BLAS "Use blas bindings for Eigen" false )
9
7
option (HPIPM "Build HPIPM Optimal Control solver" false )
10
8
11
9
## option to activate/deactivate explicit template prespecs
@@ -32,14 +30,4 @@ if(USE_INTEL)
32
30
SET (CMAKE_C_COMPILER ${INTEL_C_COMPILER} )
33
31
SET (CMAKE_CXX_COMPILER ${INTEL_CXX_COMPILER} )
34
32
set (CMAKE_CXX_LINKER_FLAGS "${CMAKE_CXX_LINKER_FLAGS} -L${MKLROOT} /lib/intel64 -llibblas -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -llapacke -lblas -llapack -lliblapack -liblapacke" )
35
- endif (USE_INTEL )
36
-
37
-
38
- if (USE_LAPACKE )
39
- add_definitions (-DEIGEN_USE_LAPACKE )
40
- set (CMAKE_CXX_LINKER_FLAGS "${CMAKE_CXX_LINKER_FLAGS} -llapacke -lblas " )
41
- endif ()
42
-
43
- if (USE_BLAS )
44
- add_definitions (-DEIGEN_USE_BLAS )
45
- endif ()
33
+ endif (USE_INTEL )
Original file line number Diff line number Diff line change @@ -44,12 +44,9 @@ endif()
44
44
include_directories (
45
45
${BOOST_INCLUDE_DIRS}
46
46
${catkin_INCLUDE_DIRS}
47
- )
48
-
49
- include_directories (
50
- include
51
- include /external
52
- ${EIGEN3_INCLUDE_DIR}
47
+ ${EIGEN3_INCLUDE_DIR}
48
+ include
49
+ include /external
53
50
)
54
51
55
52
## dummy prespec libs
@@ -72,14 +69,13 @@ catkin_package(
72
69
examples
73
70
${EIGEN3_INCLUDE_DIR}
74
71
LIBRARIES
75
- dl
76
- ct_core
77
- ${PRESPEC_LIB_NAMES}
72
+ ct_core
73
+ dl # required for gcc-compatibility
74
+ ${PRESPEC_LIB_NAMES}
78
75
DEPENDS
79
- EIGEN3
76
+ EIGEN3
80
77
)
81
78
82
-
83
79
set (CODEGEN_TEMPLATE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /templates" )
84
80
set (CODEGEN_OUTPUT_DIR "${CMAKE_CURRENT_SOURCE_DIR} /generated" )
85
81
configure_file (${CMAKE_CURRENT_SOURCE_DIR} /include/ct/core/templateDir.h.in ${CMAKE_CURRENT_SOURCE_DIR} /include/ct/core/templateDir.h )
Original file line number Diff line number Diff line change 2
2
<name >ct_core</name >
3
3
<version >0.3.0</version >
4
4
<description >
5
- ADRL control toolbox - core module
5
+ Control toolbox - core module.
6
6
</description >
7
7
<maintainer email =" markusgft@gmail.com" >Markus Giftthaler</maintainer >
8
8
<maintainer email =" neunertm@gmail.com" >Michael Neunert</maintainer >
9
9
<license >BSD-2</license >
10
10
<buildtool_depend >catkin</buildtool_depend >
11
-
12
11
</package >
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ endif(USE_PRESPEC)
60
60
61
61
################ HyQ #################
62
62
add_executable (HyQLinearizationCodgen src/HyQ/codegen/HyQLinearizationCodgen.cpp )
63
- target_link_libraries (HyQLinearizationCodgen ${catkin_LIBRARIES} )
63
+ target_link_libraries (HyQLinearizationCodgen ${catkin_LIBRARIES} )
64
64
65
65
if (BUILD_HYQ_FULL )
66
66
if (NOT USE_CLANG )
Original file line number Diff line number Diff line change 10
10
11
11
<buildtool_depend >catkin</buildtool_depend >
12
12
13
- <depend >roscpp</depend >
14
- <depend >std_msgs</depend >
15
- <depend >ct_core</depend >
16
13
<depend >ct_rbd</depend >
17
14
18
15
</package >
Original file line number Diff line number Diff line change 1
1
<package format =" 2" >
2
2
<name >ct_optcon</name >
3
+
3
4
<version >0.3.0</version >
5
+
4
6
<description >Optimal Control package of the ADRL Control Toolbox</description >
7
+
8
+ <license >BSD-2</license >
9
+
5
10
<maintainer email =" markusgft@gmail.com" >Markus Giftthaler</maintainer >
6
11
<maintainer email =" neunertm@gmail.com" >Michael Neunert</maintainer >
7
- <license >BSD-2</license >
8
12
9
13
<author >Markus Giftthaler</author >
10
14
<author >Michael Neunert</author >
11
15
12
16
<buildtool_depend >catkin</buildtool_depend >
13
17
14
- <depend >roscpp</depend >
15
18
<depend >ct_core</depend >
16
19
<depend >cmake_modules</depend >
17
20
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/../ct_optcon/cmake/externalSolvers.cmake)
10
10
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wfatal-errors -std=c++14 -Wall -Wno-unknown-pragmas" )
11
11
SET (CMAKE_EXPORT_COMPILE_COMMANDS TRUE )
12
12
13
- find_package (catkin REQUIRED ct_core ct_optcon )
13
+ find_package (catkin REQUIRED ct_optcon )
14
14
find_package (kindr )
15
15
16
16
@@ -34,7 +34,6 @@ catkin_package(
34
34
LIBRARIES
35
35
${PRESPEC_LIB_NAMES}
36
36
CATKIN_DEPENDS
37
- ct_core
38
37
ct_optcon
39
38
kindr
40
39
)
Original file line number Diff line number Diff line change 10
10
11
11
<buildtool_depend >catkin</buildtool_depend >
12
12
13
- <depend >roscpp</depend >
14
- <depend >ct_core</depend >
15
13
<depend >ct_optcon</depend >
16
14
<depend >cmake_modules</depend >
17
15
<depend >kindr</depend >
You can’t perform that action at this time.
0 commit comments