@@ -40,6 +40,8 @@ add_library(
4040 tasks/acrobot/acrobot.h
4141 tasks/allegro/allegro.cc
4242 tasks/allegro/allegro.h
43+ tasks/bimanual/bimanual.cc
44+ tasks/bimanual/bimanual.h
4345 tasks/cartpole/cartpole.cc
4446 tasks/cartpole/cartpole.h
4547 tasks/cube/solve.cc
@@ -85,6 +87,8 @@ add_library(
8587 planners/cross_entropy/planner.h
8688 planners/robust/robust_planner.cc
8789 planners/robust/robust_planner.h
90+ planners/sample_gradient/planner.cc
91+ planners/sample_gradient/planner.h
8892 planners/sampling/planner.cc
8993 planners/sampling/planner.h
9094 planners/sampling/policy .cc
@@ -122,6 +126,8 @@ add_library(
122126 direct/trajectory.h
123127 direct/model_parameters.cc
124128 direct/model_parameters.h
129+ spline/spline.cc
130+ spline/spline.h
125131 app.cc
126132 app.h
127133 norm.cc
@@ -138,8 +144,11 @@ target_compile_definitions(libmjpc PRIVATE MJSIMULATE_STATIC)
138144target_link_libraries (
139145 libmjpc
140146 absl::any_invocable
147+ absl::check
141148 absl::flat_hash_map
149+ absl::log
142150 absl::random_random
151+ absl::span
143152 glfw
144153 lodepng
145154 mujoco::mujoco
@@ -177,6 +186,28 @@ if(APPLE)
177186 target_link_libraries (mjpc "-framework Cocoa" )
178187endif ()
179188
189+ add_executable (
190+ testspeed
191+ testspeed_app.cc
192+ testspeed.h
193+ testspeed.cc
194+ )
195+ target_link_libraries (
196+ testspeed
197+ absl::flags
198+ absl::flags_parse
199+ absl::random_random
200+ absl::strings
201+ libmjpc
202+ mujoco::mujoco
203+ threadpool
204+ Threads::Threads
205+ )
206+ target_include_directories (testspeed PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} /..)
207+ target_compile_options (testspeed PUBLIC ${MJPC_COMPILE_OPTIONS} )
208+ target_link_options (testspeed PRIVATE ${MJPC_LINK_OPTIONS} )
209+ target_compile_definitions (testspeed PRIVATE MJSIMULATE_STATIC)
210+
180211add_subdirectory (tasks)
181212
182213if (BUILD_TESTING AND MJPC_BUILD_TESTS)
0 commit comments