Skip to content

Commit aed9087

Browse files
Removed path code
1 parent c3651b5 commit aed9087

File tree

13 files changed

+8
-614
lines changed

13 files changed

+8
-614
lines changed

CMakeLists.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,18 @@ if (BUILD_EXAMPLES)
8686
endforeach ()
8787
endif ()
8888

89-
9089
if (BUILD_TESTS)
9190
enable_testing()
9291

9392
find_package(Catch2 REQUIRED)
9493

95-
foreach (test IN ITEMS path-test)
96-
add_executable(${test} "test/${test}.cpp")
97-
target_link_libraries(${test} PRIVATE franky Catch2::Catch2)
98-
add_test(NAME ${test} COMMAND ${test})
94+
file(GLOB TEST_FILES "test/test-*.cpp")
95+
96+
foreach (test_file ${TEST_FILES})
97+
get_filename_component(test_name ${test_file} NAME_WE)
98+
add_executable(${test_name} ${test_file})
99+
target_link_libraries(${test_name} PRIVATE franky Catch2::Catch2)
100+
add_test(NAME ${test_name} COMMAND ${test_name})
99101
endforeach ()
100102
endif ()
101103

include/franky.hpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,10 @@
1717
#include "franky/motion/waypoint_motion.hpp"
1818
#include "franky/motion/position_waypoint_motion.hpp"
1919

20-
#include "franky/path/aggregated_path.hpp"
21-
#include "franky/path/linear_path.hpp"
22-
#include "franky/path/path.hpp"
23-
#include "franky/path/quartic_blend_path.hpp"
24-
#include "franky/path/time_parametrization.hpp"
25-
#include "franky/path/trajectory.hpp"
26-
2720
#include "franky/cartesian_state.hpp"
2821
#include "franky/control_signal_type.hpp"
2922
#include "franky/gripper.hpp"
23+
#include "franky/elbow_state.hpp"
3024
#include "franky/joint_state.hpp"
3125
#include "franky/kinematics.hpp"
3226
#include "franky/robot.hpp"

include/franky/path/aggregated_path.hpp

Lines changed: 0 additions & 92 deletions
This file was deleted.

include/franky/path/linear_path.hpp

Lines changed: 0 additions & 53 deletions
This file was deleted.

include/franky/path/path.hpp

Lines changed: 0 additions & 28 deletions
This file was deleted.

include/franky/path/quartic_blend_path.hpp

Lines changed: 0 additions & 60 deletions
This file was deleted.

include/franky/path/time_parametrization.hpp

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)