From 3e18bfe87de9c8b96a9e324506929033154a5e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Mon, 17 Apr 2023 11:41:17 +0200 Subject: [PATCH] fixed missing executable: was in setup.py to add --- .vscode/c_cpp_properties.json | 21 +++++++++++++++++++++ .vscode/settings.json | 14 ++++++++++++++ CMakeLists.txt | 2 +- setup.py | 1 + 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..a5f519a --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,21 @@ +{ + "configurations": [ + { + "browse": { + "databaseFilename": "${default}", + "limitSymbolsToIncludedHeaders": false + }, + "includePath": [ + "/home/bjorn/Documents/ros-projects/my_ws/install/segway_msgs/include/**", + "/opt/ros/humble/include/**", + "/usr/include/**" + ], + "name": "ROS", + "intelliSenseMode": "gcc-x64", + "compilerPath": "/usr/bin/gcc", + "cStandard": "gnu11", + "cppStandard": "c++14" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4f45092 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,14 @@ +{ + "python.autoComplete.extraPaths": [ + "/home/bjorn/Documents/ros-projects/my_ws/install/rmp220_teleop/lib/python3.10/site-packages", + "/home/bjorn/Documents/ros-projects/my_ws/install/segway_msgs/local/lib/python3.10/dist-packages", + "/opt/ros/humble/lib/python3.10/site-packages", + "/opt/ros/humble/local/lib/python3.10/dist-packages" + ], + "python.analysis.extraPaths": [ + "/home/bjorn/Documents/ros-projects/my_ws/install/rmp220_teleop/lib/python3.10/site-packages", + "/home/bjorn/Documents/ros-projects/my_ws/install/segway_msgs/local/lib/python3.10/dist-packages", + "/opt/ros/humble/lib/python3.10/site-packages", + "/opt/ros/humble/local/lib/python3.10/dist-packages" + ] +} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 85d1db1..9696054 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ find_package(segway_msgs REQUIRED) ament_python_install_package(${PROJECT_NAME}) # Link libraries -target_link_libraries(rmp220_teleop) +#target_link_libraries(rmp220_teleop) install(PROGRAMS rmp220_teleop/rmp220_teleop.py diff --git a/setup.py b/setup.py index 3ba1868..c63ecb9 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ setup( tests_require=['pytest'], entry_points={ 'console_scripts': [ + 'rmp220_teleop = rmp220_teleop.rmp220_teleop:main' ], }, )