diff --git a/lint.bash b/lint.bash deleted file mode 100644 index 1957ca0..0000000 --- a/lint.bash +++ /dev/null @@ -1,6 +0,0 @@ -FILES=$(find . \( -name '*.h' -or -name '*.cpp' -or -name '*.cc' \) -not -path '*/Telegram/*' -not -path '*/cmake/*' -not -path '*/lib/*') - echo "Files to be linted:" - echo "$FILES" - for FILE in $FILES; do - clang-tidy -p=$1 $FILE - done \ No newline at end of file diff --git a/packages/camera/scripts/dataset_tools/dataset_creator.py b/packages/camera/scripts/dataset_creator.py similarity index 100% rename from packages/camera/scripts/dataset_tools/dataset_creator.py rename to packages/camera/scripts/dataset_creator.py diff --git a/packages/camera/scripts/dataset_tools/rosbag_parser.py b/packages/camera/scripts/rosbag_parser.py similarity index 100% rename from packages/camera/scripts/dataset_tools/rosbag_parser.py rename to packages/camera/scripts/rosbag_parser.py diff --git a/packages/camera/scripts/camera_identifier/CMakeLists.txt b/packages/camera_identifier/CMakeLists.txt similarity index 61% rename from packages/camera/scripts/camera_identifier/CMakeLists.txt rename to packages/camera_identifier/CMakeLists.txt index ffe3365..40bc7c0 100644 --- a/packages/camera/scripts/camera_identifier/CMakeLists.txt +++ b/packages/camera_identifier/CMakeLists.txt @@ -6,9 +6,12 @@ add_compile_options(-Wall -Wextra -Wpedantic -Wno-dev) add_library(mvsdk SHARED IMPORTED) set_target_properties(mvsdk PROPERTIES IMPORTED_LOCATION "/lib/libMVSDK.so") -add_executable(camera_identifier src/identifier.cpp ../../src/camera_status.cpp) +add_executable(camera_identifier src/identifier.cpp ../camera/src/camera_status.cpp) target_include_directories(camera_identifier PUBLIC - "$" + "$" "/usr/include") target_link_libraries(camera_identifier mvsdk) + +install(TARGETS camera_identifier + DESTINATION lib/${PROJECT_NAME}) diff --git a/packages/camera/scripts/camera_identifier/src/identifier.cpp b/packages/camera_identifier/src/identifier.cpp similarity index 100% rename from packages/camera/scripts/camera_identifier/src/identifier.cpp rename to packages/camera_identifier/src/identifier.cpp