-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
188 lines (103 loc) · 5.61 KB
/
Copy pathCMakeLists.txt
File metadata and controls
188 lines (103 loc) · 5.61 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
cmake_minimum_required(VERSION 3.10.1)
### ----- Generate dynamics for pendulum ----- ###
project(pendulum) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for double pendulum ----- ###
project(double_pendulum) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for cartpole ----- ###
project(cartpole) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for double cartpole ----- ###
project(double_cartpole) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for uniform rigidbody ----- ###
project(rigidbody) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for quadrotor ----- ###
project(quadrotor) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Unitree Go1 ----- ###
project(unitree_go1) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Unitree Go2 ----- ###
project(unitree_go2) # Change this for each model
set(DIR models/${PROJECT_NAME}/generated_code/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 1 contact point per foot ----- ###
project(nadia_simple_1cp) # Change this for each model
set(DIR models/nadia/generated_code/simple_1cp/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 4 contact point per foot ----- ###
project(nadia_simple_4cp) # Change this for each model
set(DIR models/nadia/generated_code/simple_4cp/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 1 contact point per foot with quat orientation ----- ###
project(nadia_simple_1cp_quat) # Change this for each model
set(DIR models/nadia/generated_code/simple_1cp_quat/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 1 contact point per foot with axis angle orientation ----- ###
project(nadia_simple_1cp_aa) # Change this for each model
set(DIR models/nadia/generated_code/simple_1cp_aa/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 1 contact point per foot with axis angle orientation ----- ###
project(nadia_simple_1cp_aa_no_arms) # Change this for each model
set(DIR models/nadia/generated_code/simple_1cp_aa_no_arms/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 4 contact point per foot, no arms ----- ###
project(nadia_simple_4cp_no_arms) # Change this for each model
set(DIR models/nadia/generated_code/simple_4cp_no_arms/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Nadia simple knee 4 contact point per foot, no arms ----- ###
project(nadia_simple_4cp_no_arms_spine) # Change this for each model
set(DIR models/nadia/generated_code/simple_4cp_no_arms_spine/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Pineapple 8DoF ----- ###
project(pineapple_8dof) # Change this for each model
set(DIR models/pineapple/generated_code/pineapple_8dof/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})
### ----- Generate dynamics for Pineapple 8DoF Quaternion Kinematics ----- ###
project(pineapple_8dof_quat) # Change this for each model
set(DIR models/pineapple/generated_code/pineapple_8dof_quat/) # Change if not the default
include_directories(${DIR})
file(GLOB SOURCES "${DIR}*.c")
add_library(${PROJECT_NAME} SHARED src/wrapper.c ${SOURCES})