|
13 | 13 | # limitations under the License. |
14 | 14 |
|
15 | 15 | # CMakeLists.txt for the CDDP examples |
| 16 | +# |
| 17 | +# The legacy visualization-heavy C++ examples are kept in the repository as |
| 18 | +# reference material, but they no longer participate in the default build. |
| 19 | +# Python bindings are the supported plotting workflow going forward. |
16 | 20 |
|
17 | 21 | add_executable(test_barrier_strategies test_barrier_strategies.cpp) |
18 | 22 | target_link_libraries(test_barrier_strategies cddp) |
19 | | - |
20 | | -add_executable(cddp_bicycle cddp_bicycle.cpp) |
21 | | -target_link_libraries(cddp_bicycle cddp) |
22 | | - |
23 | | -add_executable(cddp_car cddp_car.cpp) |
24 | | -target_link_libraries(cddp_car cddp) |
25 | | - |
26 | | -add_executable(cddp_car_ipddp cddp_car_ipddp.cpp) |
27 | | -target_link_libraries(cddp_car_ipddp cddp) |
28 | | - |
29 | | -add_executable(cddp_forklift_ipddp cddp_forklift_ipddp.cpp) |
30 | | -target_link_libraries(cddp_forklift_ipddp cddp) |
31 | | - |
32 | | -add_executable(cddp_cartpole cddp_cartpole.cpp) |
33 | | -target_link_libraries(cddp_cartpole cddp) |
34 | | - |
35 | | -add_executable(cddp_hcw cddp_hcw.cpp) |
36 | | -target_link_libraries(cddp_hcw cddp) |
37 | | - |
38 | | -add_executable(cddp_lti_system cddp_lti_system.cpp) |
39 | | -target_link_libraries(cddp_lti_system cddp) |
40 | | - |
41 | | -add_executable(cddp_manipulator cddp_manipulator.cpp) |
42 | | -target_link_libraries(cddp_manipulator cddp) |
43 | | - |
44 | | -add_executable(cddp_pendulum cddp_pendulum.cpp) |
45 | | -target_link_libraries(cddp_pendulum cddp) |
46 | | - |
47 | | -add_executable(cddp_acrobot cddp_acrobot.cpp) |
48 | | -target_link_libraries(cddp_acrobot cddp) |
49 | | - |
50 | | -add_executable(cddp_quadrotor_circle cddp_quadrotor_circle.cpp) |
51 | | -target_link_libraries(cddp_quadrotor_circle cddp) |
52 | | - |
53 | | -add_executable(cddp_quadrotor_figure_eight_horizontal cddp_quadrotor_figure_eight_horizontal.cpp) |
54 | | -target_link_libraries(cddp_quadrotor_figure_eight_horizontal cddp) |
55 | | - |
56 | | -add_executable(cddp_quadrotor_figure_eight_vertical cddp_quadrotor_figure_eight_vertical.cpp) |
57 | | -target_link_libraries(cddp_quadrotor_figure_eight_vertical cddp) |
58 | | - |
59 | | -add_executable(cddp_quadrotor_point cddp_quadrotor_point.cpp) |
60 | | -target_link_libraries(cddp_quadrotor_point cddp) |
61 | | - |
62 | | -add_executable(cddp_quadrotor_figure_eight_horizontal_safe cddp_quadrotor_figure_eight_horizontal_safe.cpp) |
63 | | -target_link_libraries(cddp_quadrotor_figure_eight_horizontal_safe cddp) |
64 | | - |
65 | | -add_executable(cddp_unicycle cddp_unicycle.cpp) |
66 | | -target_link_libraries(cddp_unicycle cddp) |
67 | | - |
68 | | -add_executable(cddp_unicycle_safe cddp_unicycle_safe.cpp) |
69 | | -target_link_libraries(cddp_unicycle_safe cddp) |
70 | | - |
71 | | -add_executable(cddp_unicycle_safe_ipddp cddp_unicycle_safe_ipddp.cpp) |
72 | | -target_link_libraries(cddp_unicycle_safe_ipddp cddp) |
73 | | - |
74 | | -add_executable(cddp_unicycle_safe_ipddp_v2 cddp_unicycle_safe_ipddp_v2.cpp) |
75 | | -target_link_libraries(cddp_unicycle_safe_ipddp_v2 cddp) |
76 | | - |
77 | | -add_executable(cddp_unicycle_safe_ipddp_v3 cddp_unicycle_safe_ipddp_v3.cpp) |
78 | | -target_link_libraries(cddp_unicycle_safe_ipddp_v3 cddp) |
79 | | - |
80 | | -add_executable(cddp_spacecraft_linear_docking cddp_spacecraft_linear_docking.cpp) |
81 | | -target_link_libraries(cddp_spacecraft_linear_docking cddp) |
82 | | - |
83 | | -add_executable(cddp_spacecraft_linear_rpo cddp_spacecraft_linear_rpo.cpp) |
84 | | -target_link_libraries(cddp_spacecraft_linear_rpo cddp) |
85 | | - |
86 | | -add_executable(cddp_spacecraft_nonlinear_rpo cddp_spacecraft_nonlinear_rpo.cpp) |
87 | | -target_link_libraries(cddp_spacecraft_nonlinear_rpo cddp) |
88 | | - |
89 | | -add_executable(cddp_spacecraft_rpo cddp_spacecraft_rpo.cpp) |
90 | | -target_link_libraries(cddp_spacecraft_rpo cddp) |
91 | | - |
92 | | -add_executable(cddp_spacecraft_rpo_mc cddp_spacecraft_rpo_mc.cpp) |
93 | | -target_link_libraries(cddp_spacecraft_rpo_mc cddp) |
94 | | - |
95 | | -add_executable(cddp_spacecraft_rpo_fuel cddp_spacecraft_rpo_fuel.cpp) |
96 | | -target_link_libraries(cddp_spacecraft_rpo_fuel cddp) |
97 | | - |
98 | | -add_executable(cddp_spacecraft_roe_rpo cddp_spacecraft_roe_rpo.cpp) |
99 | | -target_link_libraries(cddp_spacecraft_roe_rpo cddp) |
100 | | - |
101 | | -add_executable(mpc_hcw mpc_hcw.cpp) |
102 | | -target_link_libraries(mpc_hcw cddp) |
103 | | - |
104 | | -add_executable(cddp_unicycle_mpc cddp_unicycle_mpc.cpp) |
105 | | -target_link_libraries(cddp_unicycle_mpc cddp) |
106 | | - |
107 | | -# Ipopt examples |
108 | | -if (CDDP_CPP_CASADI) |
109 | | - add_executable(ipopt_car ipopt_car.cpp) |
110 | | - target_link_libraries(ipopt_car cddp) |
111 | | - |
112 | | - add_executable(ipopt_unicycle ipopt_unicycle.cpp) |
113 | | - target_link_libraries(ipopt_unicycle cddp) |
114 | | - |
115 | | - add_executable(ipopt_cartpole ipopt_cartpole.cpp) |
116 | | - target_link_libraries(ipopt_cartpole cddp) |
117 | | - |
118 | | - add_executable(ipopt_quadrotor ipopt_quadrotor.cpp) |
119 | | - target_link_libraries(ipopt_quadrotor cddp) |
120 | | - |
121 | | - add_executable(ipopt_spacecrat_linear_fuel ipopt_spacecrat_linear_fuel.cpp) |
122 | | - target_link_libraries(ipopt_spacecrat_linear_fuel cddp) |
123 | | -endif() |
0 commit comments