forked from dqrobotics/python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
131 lines (112 loc) · 5.22 KB
/
CMakeLists.txt
File metadata and controls
131 lines (112 loc) · 5.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
cmake_minimum_required(VERSION 3.1)
if(WIN32)
set(CMAKE_TOOLCHAIN_FILE C:/vcpkg/scripts/buildsystems/vcpkg.cmake)
endif()
project(dqroboticspython)
#VREP INTERFACE
add_definitions(-DNON_MATLAB_PARSING)
add_definitions(-DMAX_EXT_API_CONNECTIONS=255)
add_definitions(-DDO_NOT_USE_SHARED_MEMORY)
if(APPLE)
message("Building not supported on this platform.")
include_directories(
/usr/local/include/
/usr/local/include/eigen3
/opt/homebrew/include
/opt/homebrew/include/eigen3
)
endif()
if(WIN32)
message("Building not supported on this platform.")
ADD_DEFINITIONS(-D_USE_MATH_DEFINES)
FIND_PACKAGE(Eigen3 CONFIG REQUIRED)
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR})
endif()
include_directories(
/usr/include/eigen3/
cpp/include/
interfaces/cpp-interface-vrep/include/
interfaces/cpp-interface-vrep/coppeliarobotics/include
interfaces/cpp-interface-vrep/coppeliarobotics/remoteApi
interfaces/cpp-interface-json11/include/
interfaces/cpp-interface-json11/dropbox/json11/
)
add_subdirectory(pybind11)
pybind11_add_module(_dqrobotics
src/dqrobotics_module.cpp
cpp/src/DQ.cpp
src/DQ_py.cpp
#Internal
cpp/src/internal/_dq_linesegment.cpp
#Utils
cpp/src/utils/DQ_LinearAlgebra.cpp
src/utils/DQ_LinearAlgebra_py.cpp
cpp/src/utils/DQ_Geometry.cpp
src/utils/DQ_Geometry_py.cpp
cpp/src/utils/DQ_Math.cpp
src/utils/DQ_Math_py.cpp
#robot_modeling
cpp/src/robot_modeling/DQ_CooperativeDualTaskSpace.cpp
src/robot_modeling/DQ_CooperativeDualTaskSpace_py.cpp
cpp/src/robot_modeling/DQ_Kinematics.cpp
src/robot_modeling/DQ_Kinematics_py.cpp
cpp/src/robot_modeling/DQ_SerialManipulator.cpp
src/robot_modeling/DQ_SerialManipulator_py.cpp
cpp/src/robot_modeling/DQ_SerialManipulatorDH.cpp
src/robot_modeling/DQ_SerialManipulatorDH_py.cpp
cpp/src/robot_modeling/DQ_SerialManipulatorMDH.cpp
src/robot_modeling/DQ_SerialManipulatorMDH_py.cpp
cpp/src/robot_modeling/DQ_SerialManipulatorDenso.cpp
src/robot_modeling/DQ_SerialManipulatorDenso_py.cpp
cpp/src/robot_modeling/DQ_MobileBase.cpp
src/robot_modeling/DQ_MobileBase_py.cpp
cpp/src/robot_modeling/DQ_HolonomicBase.cpp
src/robot_modeling/DQ_HolonomicBase_py.cpp
cpp/src/robot_modeling/DQ_DifferentialDriveRobot.cpp
src/robot_modeling/DQ_DifferentialDriveRobot_py.cpp
cpp/src/robot_modeling/DQ_WholeBody.cpp
src/robot_modeling/DQ_WholeBody_py.cpp
cpp/src/robot_modeling/DQ_SerialWholeBody.cpp
src/robot_modeling/DQ_SerialWholeBody_py.cpp
#robot_control
cpp/src/robot_control/DQ_KinematicController.cpp
src/robot_control/DQ_KinematicController_py.cpp
cpp/src/robot_control/DQ_PseudoinverseController.cpp
src/robot_control/DQ_PseudoinverseController_py.cpp
cpp/src/robot_control/DQ_NumericalFilteredPseudoInverseController.cpp
src/robot_control/DQ_NumericalFilteredPseudoInverseController_py.cpp
cpp/src/robot_control/DQ_KinematicConstrainedController.cpp
src/robot_control/DQ_KinematicConstrainedController_py.cpp
cpp/src/robot_control/DQ_QuadraticProgrammingController.cpp
src/robot_control/DQ_QuadraticProgrammingController_py.cpp
cpp/src/robot_control/DQ_ClassicQPController.cpp
src/robot_control/DQ_ClassicQPController_py.cpp
#solvers
#DQ_QuadraticProgrammingSolver.h
src/solvers/DQ_QuadraticProgrammingSolver_py.cpp
#robots
cpp/src/robots/Ax18ManipulatorRobot.cpp
cpp/src/robots/BarrettWamArmRobot.cpp
cpp/src/robots/ComauSmartSixRobot.cpp
cpp/src/robots/KukaLw4Robot.cpp
cpp/src/robots/KukaYoubotRobot.cpp
cpp/src/robots/FrankaEmikaPandaRobot.cpp
#interfaces/vrep
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/DQ_VrepInterface.cpp
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/DQ_VrepInterfaceMapElement.cpp
interfaces/cpp-interface-vrep/coppeliarobotics/remoteApi/extApi.c
interfaces/cpp-interface-vrep/coppeliarobotics/remoteApi/extApiPlatform.h
interfaces/cpp-interface-vrep/coppeliarobotics/remoteApi/extApiPlatform.c
src/interfaces/vrep/DQ_VrepInterface_py.cpp
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/DQ_VrepRobot.cpp
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/DQ_SerialVrepRobot.cpp
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/robots/LBR4pVrepRobot.cpp
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/robots/YouBotVrepRobot.cpp
interfaces/cpp-interface-vrep/src/dqrobotics/interfaces/vrep/robots/FrankaEmikaPandaVrepRobot.cpp
src/interfaces/vrep/DQ_VrepRobot_py.cpp
src/interfaces/vrep/DQ_SerialVrepRobot_py.cpp
#interfaces/json11
interfaces/cpp-interface-json11/src/dqrobotics/interfaces/json11/DQ_JsonReader.cpp
src/interfaces/json11/DQ_JsonReader_py.cpp
interfaces/cpp-interface-json11/dropbox/json11/json11.cpp
)