From 455b97138772b8c71aad28593092399422c9bbe4 Mon Sep 17 00:00:00 2001 From: alekskl01 Date: Mon, 9 Oct 2023 20:50:23 +0200 Subject: [PATCH] fixed CMakeLists for asv_setup --- asv_setup/CMakeLists.txt | 6 ++++++ asv_setup/launch/{pc.yaml => pc.launch.yaml} | 2 +- ...interface_launch.yaml => joystick_interface.launch.yaml} | 0 3 files changed, 7 insertions(+), 1 deletion(-) rename asv_setup/launch/{pc.yaml => pc.launch.yaml} (94%) rename mission/joystick_interface/launch/{joystick_interface_launch.yaml => joystick_interface.launch.yaml} (100%) diff --git a/asv_setup/CMakeLists.txt b/asv_setup/CMakeLists.txt index 3242be2e..b12ae23a 100644 --- a/asv_setup/CMakeLists.txt +++ b/asv_setup/CMakeLists.txt @@ -11,6 +11,12 @@ find_package(ament_cmake REQUIRED) # further dependencies manually. # find_package( REQUIRED) +# Install launch files. +install(DIRECTORY + launch + DESTINATION share/${PROJECT_NAME}/ +) + if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) # the following line skips the linter which checks for copyrights diff --git a/asv_setup/launch/pc.yaml b/asv_setup/launch/pc.launch.yaml similarity index 94% rename from asv_setup/launch/pc.yaml rename to asv_setup/launch/pc.launch.yaml index d65bd83f..efa79769 100644 --- a/asv_setup/launch/pc.yaml +++ b/asv_setup/launch/pc.launch.yaml @@ -20,4 +20,4 @@ launch: to: "/joystick/joy" - include: - file: "src/vortex-asv/mission/joystick_interface/launch/joystick_interface_launch.yaml" + file: "src/vortex-asv/mission/joystick_interface/launch/joystick_interface.launch.yaml" diff --git a/mission/joystick_interface/launch/joystick_interface_launch.yaml b/mission/joystick_interface/launch/joystick_interface.launch.yaml similarity index 100% rename from mission/joystick_interface/launch/joystick_interface_launch.yaml rename to mission/joystick_interface/launch/joystick_interface.launch.yaml