From 027e6e431978ad784823bf5a7b90ecfeb2f38416 Mon Sep 17 00:00:00 2001 From: Yoshiki Obinata Date: Thu, 5 Dec 2024 16:02:51 +0900 Subject: [PATCH 1/2] [jsk_teleop_joy] fix shebang for python3 --- jsk_teleop_joy/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jsk_teleop_joy/CMakeLists.txt b/jsk_teleop_joy/CMakeLists.txt index 59a55656b..0caa07cd5 100644 --- a/jsk_teleop_joy/CMakeLists.txt +++ b/jsk_teleop_joy/CMakeLists.txt @@ -9,7 +9,13 @@ catkin_package( ) -install(DIRECTORY launch scripts configs +file(GLOB PYTHON_SCRIPTS scripts/*.py) +catkin_install_python( + PROGRAMS ${PYTHON_SCRIPTS} + DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} +) + +install(DIRECTORY launch configs DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} USE_SOURCE_PERMISSIONS PATTERN ".svn" EXCLUDE From 784be880bdff2624eb391bf636b730863b757c16 Mon Sep 17 00:00:00 2001 From: Yoshiki Obinata Date: Thu, 5 Dec 2024 16:21:20 +0900 Subject: [PATCH 2/2] [jsk_teleop_joy] support midi launchpad X --- jsk_teleop_joy/configs/launchpad_x.yaml | 195 ++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 jsk_teleop_joy/configs/launchpad_x.yaml diff --git a/jsk_teleop_joy/configs/launchpad_x.yaml b/jsk_teleop_joy/configs/launchpad_x.yaml new file mode 100644 index 000000000..a7db14fc2 --- /dev/null +++ b/jsk_teleop_joy/configs/launchpad_x.yaml @@ -0,0 +1,195 @@ +analogs: +- !!python/tuple + - 144 + - 64 +- !!python/tuple + - 144 + - 65 +- !!python/tuple + - 144 + - 66 +- !!python/tuple + - 144 + - 67 +- !!python/tuple + - 144 + - 96 +- !!python/tuple + - 144 + - 97 +- !!python/tuple + - 144 + - 98 +- !!python/tuple + - 144 + - 99 +- !!python/tuple + - 144 + - 60 +- !!python/tuple + - 144 + - 61 +- !!python/tuple + - 144 + - 62 +- !!python/tuple + - 144 + - 63 +- !!python/tuple + - 144 + - 92 +- !!python/tuple + - 144 + - 93 +- !!python/tuple + - 144 + - 94 +- !!python/tuple + - 144 + - 95 +- !!python/tuple + - 144 + - 56 +- !!python/tuple + - 144 + - 57 +- !!python/tuple + - 144 + - 58 +- !!python/tuple + - 144 + - 59 +- !!python/tuple + - 144 + - 88 +- !!python/tuple + - 144 + - 89 +- !!python/tuple + - 144 + - 90 +- !!python/tuple + - 144 + - 91 +- !!python/tuple + - 144 + - 52 +- !!python/tuple + - 144 + - 53 +- !!python/tuple + - 144 + - 54 +- !!python/tuple + - 144 + - 55 +- !!python/tuple + - 144 + - 84 +- !!python/tuple + - 144 + - 85 +- !!python/tuple + - 144 + - 86 +- !!python/tuple + - 144 + - 87 +- !!python/tuple + - 144 + - 48 +- !!python/tuple + - 144 + - 49 +- !!python/tuple + - 144 + - 50 +- !!python/tuple + - 144 + - 51 +- !!python/tuple + - 144 + - 80 +- !!python/tuple + - 144 + - 81 +- !!python/tuple + - 144 + - 82 +- !!python/tuple + - 144 + - 83 +- !!python/tuple + - 144 + - 44 +- !!python/tuple + - 144 + - 45 +- !!python/tuple + - 144 + - 46 +- !!python/tuple + - 144 + - 47 +- !!python/tuple + - 144 + - 76 +- !!python/tuple + - 144 + - 77 +- !!python/tuple + - 144 + - 78 +- !!python/tuple + - 144 + - 79 +- !!python/tuple + - 144 + - 40 +- !!python/tuple + - 144 + - 41 +- !!python/tuple + - 144 + - 42 +- !!python/tuple + - 144 + - 43 +- !!python/tuple + - 144 + - 72 +- !!python/tuple + - 144 + - 73 +- !!python/tuple + - 144 + - 74 +- !!python/tuple + - 144 + - 75 +- !!python/tuple + - 144 + - 36 +- !!python/tuple + - 144 + - 37 +- !!python/tuple + - 144 + - 38 +- !!python/tuple + - 144 + - 39 +- !!python/tuple + - 144 + - 68 +- !!python/tuple + - 144 + - 69 +- !!python/tuple + - 144 + - 70 +- !!python/tuple + - 144 + - 71 +device_name: !!binary | + TGF1bmNocGFkIFggTFBYIE1JREkgSW4=