ChampionNavLaserScan.h-- ==> add_subdirectory(imlsMatcher) -- BUILD_SHARED_LIBS is on WARNING: Package name "imlsMatcher" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - imlsMatcher -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'imlsMatcher' -- ==> add_subdirectory(.) CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:121 (add_subdirectory): add_subdirectory not given a binary directory but the given source directory "/home/csh/catkin_ws2/src/imlsMatcher" is not a subdirectory of "/home/csh/catkin_ws2/src/imlsMatcher". When specifying an out-of-tree source a binary directory must be explicitly specified. Call Stack (most recent call first): imlsMatcher/CMakeLists.txt:69 (catkin_workspace) -- Configuring incomplete, errors occurred! See also "/home/csh/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/csh/catkin_ws2/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

时间: 2025-03-24 20:04:17 浏览: 56
<think>好的,我现在需要解决在ROS Noetic中配置imlsMatcher包时遇到的CMake错误:“add_subdirectory的源目录不是子目录”。首先,我应该仔细分析错误信息,理解其含义。 根据用户提供的引用内容,CMakeLists.txt可能存在问题。用户提到CMakeLists.txt是一个软链接,指向了/opt/ros/melodic/share/catkin/cmake/toplevel.cmake,这可能导致路径错误,特别是在ROS Noetic环境下,路径结构可能有所不同[^1]。另外,引用的错误信息来自/opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake,这说明用户可能混合使用了不同ROS版本的组件,比如Melodic和Noetic,这会导致兼容性问题[^2]。 接下来,我需要检查CMakeLists.txt的结构。标准的ROS包中,src目录下的CMakeLists.txt通常是一个顶层文件,用于调用catkin的宏,而每个子包应有自己的CMakeLists.txt。如果imlsMatcher包的CMakeLists.txt没有正确放置在子目录中,或者在父CMakeLists.txt中使用add_subdirectory时路径不正确,就会导致这个错误。 可能的解决步骤包括: 1. 确认imlsMatcher包的路径是否正确,是否位于src目录下的独立文件夹中。 2. 检查顶层CMakeLists.txt中的add_subdirectory指令,确保路径参数指向正确的子目录。 3. 验证软链接是否正确指向Noetic版本的catkin文件,而不是旧版本如Melodic的,避免版本不匹配。 4. 确保所有ROS依赖项(如catkin)已正确安装,并且环境变量(如ROS_PACKAGE_PATH)设置正确。 5. 清理之前的构建文件并重新编译,排除缓存或残留文件的影响。 此外,用户提到替换文件后问题未解决,可能需要检查是否有文件权限问题,或者CMake版本与ROS Noetic的要求是否一致。参考古月居的教程,可能需要对比正确的CMake配置,查找差异点。 总结来说,解决该错误需要系统性地检查路径设置、版本兼容性以及构建配置,确保所有组件在ROS Noetic环境下协调工作。</think>在ROS Noetic中配置imlsMatcher包时遇到`add_subdirectory`的源目录错误,可通过以下步骤排查和修复: ### 1. 验证目录结构 确保`imlsMatcher`包位于`src`目录下的独立子文件夹中,例如: ``` ~/catkin_ws/src/ └── imlsMatcher/ ├── CMakeLists.txt ├── package.xml └── src/ ``` 如果`imlsMatcher`直接放在`src`根目录下,会导致父级`CMakeLists.txt`无法正确识别子目录。 ### 2. 检查顶层CMakeLists.txt 查看`src/CMakeLists.txt`是否为ROS自动生成的软链接文件。执行: ```bash ls -l ~/catkin_ws/src/CMakeLists.txt ``` 若输出显示链接到`/opt/ros/melodic/...`,则存在ROS版本冲突。需删除旧链接并重新生成: ```bash rm ~/catkin_ws/src/CMakeLists.txt catkin_init_workspace ``` 此时应正确指向Noetic的路径`/opt/ros/noetic/share/catkin/cmake/toplevel.cmake`。 ### 3. 修正add_subdirectory调用 在父级`CMakeLists.txt`中调用子包时,路径需相对当前文件。例如: ```cmake add_subdirectory(imlsMatcher) # 正确:当imlsMatcher是src的直接子目录时 ``` 而非: ```cmake add_subdirectory(src/imlsMatcher) # 错误:路径层级错误 ``` ### 4. 检查包内CMakeLists.txt 确认`imlsMatcher/CMakeLists.txt`包含ROS标准配置: ```cmake cmake_minimum_required(VERSION 3.0.2) project(imlsMatcher) find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs # 其他依赖... ) catkin_package() include_directories(${catkin_INCLUDE_DIRS}) add_executable(imls_node src/imls.cpp) target_link_libraries(imls_node ${catkin_LIBRARIES}) ``` ### 5. 清理并重新编译 ```bash cd ~/catkin_ws rm -rf build devel catkin_make clean catkin_make ``` ### 常见错误原因 - **跨版本ROS文件混用**:如Melodic的`CMakeLists.txt`用在Noetic环境中 - **路径大小写错误**:ROS严格区分目录名大小写 - **缺少依赖声明**:`package.xml`中未声明`<build_depend>`
阅读全文

相关推荐

abot@abot:~/robot_ws$ cd ~/robot_ws && catkin_make -DCATKIN_WHITELIST_PACKAGES="robot_slam" Base path: /home/abot/robot_ws Source space: /home/abot/robot_ws/src Build space: /home/abot/robot_ws/build Devel space: /home/abot/robot_ws/devel Install space: /home/abot/robot_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/abot/robot_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/abot/robot_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/lib/python3/dist-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/abot/robot_ws/build/test_results -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- Using CATKIN_WHITELIST_PACKAGES: robot_slam -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - robot_slam -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'robot_slam' -- ==> add_subdirectory(robot_slam) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Error at robot_slam/CMakeLists.txt:212 (add_subdirectory): add_subdirectory given source "openslam" which is not an existing directory. CMake Error at robot_slam/CMakeLists.txt:213 (add_subdirectory): add_subdirectory given source "gmapping" which is not an existing directory. CMake Error at robot_slam/CMakeLis

WARNING: Package name "Send_position_pose" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. WARNING: Package name "Send_position_pose" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 4 packages in topological order: -- ~~ - Send_position_pose -- ~~ - my_odometry_listener -- ~~ - livox_ros_driver2 -- ~~ - fast_lio -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'Send_position_pose' -- ==> add_subdirectory(Send_position_pose) CMake Deprecation Warning at Send_position_pose/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy WARNING: Package name "Send_position_pose" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes. CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:196 (message): catkin_package() the catkin package 'tf2' has been find_package()-ed but is not listed as a build dependency in the package.xml Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) Send_position_pose/CMakeLists.txt:210 (catkin_package) -- Configuring incomplete, errors occurred! make: *** [Makefile:1892:cmake_check_build_system] 错误 1 Invoking "make cmake_check_build_system" failed

zta@zta:~/catkin_ws$ catkin_make clean # 可选:清理之前失败的构建 Base path: /home/zta/catkin_ws Source space: /home/zta/catkin_ws/src Build space: /home/zta/catkin_ws/build Devel space: /home/zta/catkin_ws/devel Install space: /home/zta/catkin_ws/install #### #### Running command: "cmake /home/zta/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/zta/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/zta/catkin_ws/install -G Unix Makefiles" in "/home/zta/catkin_ws/build" #### CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- Using CATKIN_DEVEL_PREFIX: /home/zta/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: CMake Warning (dev) at /usr/share/catkin/cmake/python.cmake:7 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/catkin/cmake/all.cmake:164 (include) /usr/share/catkin/cmake/catkinConfig.cmake:20 (include) CMakeLists.txt:58 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/zta/catkin_ws/build/test_results -- GTest is not available. Please install libgtest-dev to enable tests involving GTest. -- GMock is not available. Please install libgmock-dev to enable tests involving GMock. -- nosetests not found, Python tests can not be run (try installing package 'python3-nose') -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - rplidar_ros -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'rplidar_ros' -- ==> add_subdirectory(rplidar_ros) CMake Deprecation Warning at rplidar_ros/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- Could NOT find roscpp (missing: roscpp_DIR) -- Could not find the required component 'roscpp'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:82 (find_package): Could not find a package configuration file provided by "roscpp" with any of the following names: roscppConfig.cmake roscpp-config.cmake Add the installation prefix of "roscpp" to CMAKE_PREFIX_PATH or set "roscpp_DIR" to a directory containing one of the above files. If "roscpp" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): rplidar_ros/CMakeLists.txt:16 (find_package) -- Configuring incomplete, errors occurred! Invoking "cmake" fail出现其他报错信息

(base) straw@straw-ASUS-TUF-Gaming-F15-FX507VV-FX507VV:~/catkin_ws$ catkin_make Base path: /home/straw/catkin_ws Source space: /home/straw/catkin_ws/src Build space: /home/straw/catkin_ws/build Devel space: /home/straw/catkin_ws/devel Install space: /home/straw/catkin_ws/install #### #### Running command: "cmake /home/straw/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/straw/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/straw/catkin_ws/install -G Unix Makefiles" in "/home/straw/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/straw/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/melodic -- This workspace overlays: /opt/ros/melodic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.9", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/straw/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.6.9") -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.29 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 13 packages in topological order: -- ~~ - jsk_recognition (metapackage) -- ~~ - sound_classification -- ~~ - audio_to_spectrogram -- ~~ - jsk_recognition_msgs -- ~~ - my_package -- ~~ - checkerboard_detector -- ~~ - jsk_recognition_utils -- ~~ - imagesift -- ~~ - jsk_perception -- ~~ - jsk_pcl_ros_utils -- ~~ - jsk_pcl_ros -- ~~ - resized_image_transport -- ~~ - yolo_ros -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'jsk_recognition' -- ==> add_subdirectory(jsk_recognition-master/jsk_recognition) -- +++ processing catkin package: 'sound_cla

abot@abot:~/robot_ws$ catkin_make -DCATKIN_WHITELIST_PACKAGES="your_package;openslam_gmapping" Base path: /home/abot/robot_ws Source space: /home/abot/robot_ws/src Build space: /home/abot/robot_ws/build Devel space: /home/abot/robot_ws/devel Install space: /home/abot/robot_ws/install #### #### Running command: "cmake /home/abot/robot_ws/src -DCATKIN_WHITELIST_PACKAGES=your_package;openslam_gmapping -DCATKIN_DEVEL_PREFIX=/home/abot/robot_ws/devel -DCMAKE_INSTALL_PREFIX=/home/abot/robot_ws/install -G Unix Makefiles" in "/home/abot/robot_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/abot/robot_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/lib/python3/dist-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/abot/robot_ws/build/test_results -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- Using CATKIN_WHITELIST_PACKAGES: your_package;openslam_gmapping -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - openslam_gmapping -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'openslam_gmapping' -- ==> add_subdirectory(openslam_gmapping) -- Configuring done -- Generating done -- Build files have been written to: /home/abot/robot_ws/build #### #### Running command: "make -j2 -l2" in "/home/abot/robot_ws/build" #### [

(SGSlam) huoduo@huoduo:~/SG-SLAM$ catkin_make --pkg cv_bridge Base path: /home/huoduo/SG-SLAM Source space: /home/huoduo/SG-SLAM/src Build space: /home/huoduo/SG-SLAM/build Devel space: /home/huoduo/SG-SLAM/devel Install space: /home/huoduo/SG-SLAM/install #### #### Running command: "make cmake_check_build_system" in "/home/huoduo/SG-SLAM/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/huoduo/SG-SLAM/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/lib/python3/dist-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/huoduo/SG-SLAM/build/test_results -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 4 packages in topological order: -- ~~ - cv_bridge -- ~~ - image_geometry -- ~~ - octomap_server -- ~~ - sg-slam -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'cv_bridge' -- ==> add_subdirectory(cv_bridge) -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.10") -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: python -- Found OpenCV: /usr/local (found suitable version "4.2.0", minimum required is "4") found components: opencv_core opencv_imgproc opencv_imgcodecs -- Found PythonLibs: /usr/lib/x86_64-linux

abot@abot-robot:~/catkin_ws$ catkin_make Base path: /home/abot/catkin_ws Source space: /home/abot/catkin_ws/src Build space: /home/abot/catkin_ws/build Devel space: /home/abot/catkin_ws/devel Install space: /home/abot/catkin_ws/install #### #### Running command: "cmake /home/abot/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/abot/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/abot/catkin_ws/install -G Unix Makefiles" in "/home/abot/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/abot/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/abot/catkin_ws/devel;/opt/ros/melodic -- This workspace overlays: /home/abot/catkin_ws/devel;/opt/ros/melodic -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/abot/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.29 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - mbot_gazebo -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'mbot_gazebo' -- ==> add_subdirectory(mbot_gazebo) -- Could NOT find gazebo_plugins (missing: gazebo_plugins_DIR) -- Could not find the required component 'gazebo_plugins'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration fil

abot@abot-robot:~/catkin_ws$ catkin_make Base path: /home/abot/catkin_ws Source space: /home/abot/catkin_ws/src Build space: /home/abot/catkin_ws/build Devel space: /home/abot/catkin_ws/devel Install space: /home/abot/catkin_ws/install #### #### Running command: "cmake /home/abot/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/abot/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/abot/catkin_ws/install -G Unix Makefiles" in "/home/abot/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/abot/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/abot/catkin_ws/devel;/opt/ros/melodic -- This workspace overlays: /home/abot/catkin_ws/devel;/opt/ros/melodic -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/abot/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.29 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - robot -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'robot' -- ==> add_subdirectory(robot) -- Configuring done -- Generating done -- Build files have been written to: /home/abot/catkin_ws/build #### #### Running command: "make -j2 -l2" in "/home/abot/catkin_ws/build" #### abot@abot-robot:~/catkin_ws$ 这算编译成功吗

大家在看

recommend-type

离心泵特性曲线计算程序VB源代码包

离心泵特性曲线计算程序VB源代码包 化工原理课程实验使用
recommend-type

python的预测房价模型组合代码.zip

模型-python的预测房价模型.zip python的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zip python的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zippython的预测房价模型.zip
recommend-type

中国检查徽章背景的检察机关PPT模板

这是一套中国检查徽章背景的,检察机关PPT模板。第一PPT模板网提供精美军警类幻灯片模板免费下载; 关键词:蓝天白云、华表、彩带、中国检查徽章PPT背景图片,中国检查院工作汇报PPT模板,蓝色绿色搭配扁平化幻灯片图表,.PPTX格式;
recommend-type

WinUSB4NuVCOM_NUC970+NuWriter.rar

NUC970 USB启动所需的USB驱动,已经下载工具NuWriter,可以用于裸机启动NUC970调试,将USB接电脑后需要先安装WinUSB4NuVCOM_NUC970驱动,然后使用NuWriter初始化硬件,之后就可以使用jlink或者ulink调试。
recommend-type

indonesia-geojson:印度尼西亚GEOJSON文件收集

印尼省数据 indonesia-province.zip:SHP格式的印度尼西亚省 indonesia-province.json:GeoJSON格式的印度尼西亚省 indonesia-province-simple.json:GeoJSON格式的印度尼西亚省的简单版本(文件大小也较小!) id-all.geo.json:印度尼西亚省GEOJSON id-all.svg:印度尼西亚SVG地图 indonesia.geojson:来自成长亚洲的印度尼西亚GEOJSON 来源 工具 将SHP文件的形状转换并简化为GeoJSON

最新推荐

recommend-type

spring-ai-commons-1.0.0-M8.jar中文-英文对照文档.zip

1、压缩文件中包含: 中文-英文对照文档、jar包下载地址、Maven依赖、Gradle依赖、源代码下载地址。 2、使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 3、特殊说明: (1)本文档为人性化翻译,精心制作,请放心使用; (2)只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; (3)不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 4、温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件。 5、本文件关键字: jar中文-英文对照文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册。
recommend-type

本科毕设论文-—基于matlab的图形用户界面设计gui(1).doc

本科毕设论文-—基于matlab的图形用户界面设计gui(1).doc
recommend-type

cyjs1988_selenium-java-maven-testNG-reportNG_46872_1752867841443.zip

cyjs1988_selenium-java-maven-testNG-reportNG_46872_1752867841443
recommend-type

全面掌握Oracle9i:基础教程与实践指南

Oracle9i是一款由甲骨文公司开发的关系型数据库管理系统,它在信息技术领域中占据着重要的地位。Oracle9i的“i”代表了互联网(internet),意味着它具有强大的网络功能,能够支持大规模的网络应用。该系统具有高度的数据完整性和安全性,并且其强大稳定的特点使得它成为了企业级应用的首选数据库平台。 为了全面掌握Oracle9i,本教程将从以下几个方面详细讲解: 1. Oracle9i的安装与配置:在开始学习之前,您需要了解如何在不同的操作系统上安装Oracle9i数据库,并对数据库进行基本的配置。这包括数据库实例的创建、网络配置文件的设置(如listener.ora和tnsnames.ora)以及初始参数文件的设置。 2. SQL语言基础:SQL(Structured Query Language)是用于管理和操作关系型数据库的标准语言。您需要熟悉SQL语言的基本语法,包括数据查询语言(DQL)、数据操纵语言(DML)、数据定义语言(DDL)和数据控制语言(DCL)。 3. PL/SQL编程:PL/SQL是Oracle公司提供的过程化语言,它是SQL的扩展,增加了过程化编程的能力。学习PL/SQL可以让您编写更复杂、更高效的数据库程序,包括存储过程、函数、包和触发器等。 4. Oracle9i的数据管理:这部分内容涉及数据表的创建、修改、删除以及索引、视图、同义词、序列和分区等高级特性。 5. 数据库性能优化:为了确保数据库的高效运行,需要对数据库进行性能调优。这包括了解Oracle9i的内存管理、锁定机制、SQL语句优化和数据库设计原则等。 6. 数据库备份与恢复:为防止数据丢失或损坏,需要了解Oracle9i的备份和恢复机制。您将学习到如何使用RMAN(Recovery Manager)进行数据备份和恢复,并且熟悉数据库的逻辑备份和恢复策略。 7. 安全管理:安全管理是保护数据库不受非法访问和操作的重要环节。Oracle9i提供了丰富的安全特性,如用户权限管理、审计和加密等,您需要学习如何实施这些安全措施来保证数据库的安全性。 8. Oracle9i网络管理:由于Oracle9i对网络的特别设计,您还需要掌握如何管理Oracle网络,包括监听器的配置、网络故障的诊断等。 9. 高级特性介绍:Oracle9i提供了很多高级功能,如高级复制、流复制、高级安全性、Oracle Data Guard等,这些内容将帮助您掌握Oracle9i的高级特性,从而在面对复杂业务需求时有更多解决方案。 在学习Oracle9i教程的过程中,您将通过大量实例练习加深理解,同时也会了解到最佳实践和常见问题的解决方法。本教程的目的是让您全面掌握Oracle9i数据库管理系统的使用,并具备解决实际问题的能力,无论您是数据库管理员、开发人员还是系统分析师,本教程都将成为您提升技能的有力工具。
recommend-type

【数据融合技术】:甘肃土壤类型空间分析中的专业性应用

# 摘要 数据融合技术作为一种集成多源数据信息的方法,在土壤类型空间分析中发挥着关键作用。本文介绍了数据融合技术的基本概念及其理论基础,阐述了数据预处理、同步整合及冲突解决等关键技术,并详细描述了甘肃土壤类型数据准备的流程,包括数据采集、质量评估、空间化处理及融合实践准备。通过具体案例分析,展示了数据融合在土壤类型空间分布分析、土壤质量评估及土壤保护规划中的应用。同时,文
recommend-type

模糊大津法

<think>首先,用户查询是关于“模糊大津法”的,我需要理解这个术语。从引用中,我知道大津法(Otsu's method)是一种图像二值化的全局阈值算法。用户提到“模糊大津法”,这可能是大津法与模糊理论结合的一种变体。我需要基于提供的引用和自己的知识来回答。关键引用:- [^1]:讨论了大津法在图像处理中的应用,特别是二值化。- [^2]:解释了大津法的原理和实现。- [^3]:提到大津法是全局阈值算法。- [^4]:讨论了高斯模糊对大津二值化算法的影响,指出高斯模糊可以减少噪声,提高阈值计算的准确性。用户的问题是:“我想查找关于模糊大津法的技术资料或实现方法请问模糊大津法原理实现方法技术文
recommend-type

SOA服务设计原则:2007年7月版原理深入解析

由于提供的文件信息是相同的标题、描述和标签,且压缩包中仅包含一个文件,我们可以得出文件“Prentice.Hall.SOA.Principles.of.Service.Design.Jul.2007.pdf”很可能是一本关于面向服务架构(SOA)的书籍。该文件的名称和描述表明了它是一本专门讨论服务设计原则的出版物,其出版日期为2007年7月。以下是从标题和描述中提取的知识点: ### SOA设计原则 1. **服务导向架构(SOA)基础**: - SOA是一种设计原则,它将业务操作封装为可以重用的服务。 - 服务是独立的、松耦合的业务功能,可以在不同的应用程序中复用。 2. **服务设计**: - 设计优质服务对于构建成功的SOA至关重要。 - 设计过程中需要考虑到服务的粒度、服务的生命周期管理、服务接口定义等。 3. **服务重用**: - 服务设计的目的是为了重用,需要识别出业务领域中可重用的功能单元。 - 通过重用现有的服务,可以降低开发成本,缩短开发时间,并提高系统的整体效率。 4. **服务的独立性与自治性**: - 服务需要在技术上是独立的,使得它们能够自主地运行和被管理。 - 自治性意味着服务能够独立于其他服务的存在和状态进行更新和维护。 5. **服务的可组合性**: - SOA强调服务的组合性,这意味着可以通过组合不同的服务构建新的业务功能。 - 服务之间的交互应当是标准化的,以确保不同服务间的无缝通信。 6. **服务的无状态性**: - 在设计服务时,最好让服务保持无状态,以便它们可以被缓存、扩展和并行处理。 - 状态信息可以放在服务外部,比如数据库或缓存系统中。 7. **服务的可发现性**: - 设计服务时,必须考虑服务的发现机制,以便服务消费者可以找到所需的服务。 - 通常通过服务注册中心来实现服务的动态发现和绑定。 8. **服务的标准化和协议**: - 服务应该基于开放标准构建,确保不同系统和服务之间能够交互。 - 服务之间交互所使用的协议应该广泛接受,如SOAP、REST等。 9. **服务的可治理性**: - 设计服务时还需要考虑服务的管理与监控,确保服务的质量和性能。 - 需要有机制来跟踪服务使用情况、服务变更管理以及服务质量保障。 10. **服务的业务与技术视角**: - 服务设计应该同时考虑业务和技术的视角,确保服务既满足业务需求也具备技术可行性。 - 业务规则和逻辑应该与服务实现逻辑分离,以保证业务的灵活性和可维护性。 ### SOA的实施挑战与最佳实践 1. **变更管理**: - 实施SOA时需要考虑到如何管理和适应快速变更。 - 必须建立适当的变更控制流程来管理和批准服务的更改。 2. **安全性**: - 安全是SOA设计中的一个关键方面,需要确保服务交互的安全。 - 需要实现身份验证、授权、加密和审计机制以保护数据和服务。 3. **互操作性**: - 服务应设计为可与不同平台和技术实现互操作。 - 必须确保服务之间可以跨平台和语言进行通信。 4. **质量保证**: - 对服务进行持续的质量监控和改进是实施SOA不可或缺的一部分。 - 服务质量(QoS)相关的特性如性能、可靠性、可用性等都应被纳入设计考量。 5. **投资回报(ROI)和成本效益分析**: - 从经济角度评估实施SOA的合理性。 - 在设计服务时考虑长期成本节约和ROI。 根据以上知识点的总结,可以看出“Prentice.Hall.SOA.Principles.of.Service.Design.Jul.2007.pdf”这本书很可能是系统地介绍SOA设计原则和最佳实践的专业著作,对于想要深入了解SOA设计的读者来说是一本宝贵的参考资料。
recommend-type

【空间分布规律】:甘肃土壤类型与农业生产的关联性研究

# 摘要 本文对甘肃土壤类型及其在农业生产中的作用进行了系统性研究。首先概述了甘肃土壤类型的基础理论,并探讨了土壤类型与农业生产的理论联系。通过GIS技术分析,本文详细阐述了甘肃土壤的空间分布规律,并对其特征和影响因素进行了深入分析。此外,本文还研究了甘肃土壤类型对农业生产实际影响,包括不同区域土壤改良和作物种植案例,以及土壤养分、水分管理对作物生长周期和产量的具体影响。最后,提出了促进甘肃土壤与农业可持续发展的策略,包括土壤保护、退化防治对策以及土壤类型优化与农业创新的结合。本文旨在为
recommend-type

rc滤波导致相位

<think>我们参考了关于RC滤波器的多个引用,特别是引用[3]和引用[4]中提到了相位的影响。 根据引用[3]:对于一阶RC低通滤波器,相位角θ的计算公式为:θ = -arctan(ωRC),其中ω是角频率(ω=2πf),R是电阻值,C是电容值。 引用[4]也解释了相位变化的原因:电容是储能元件,信号通过电容时会有延时,导致输出信号相对于输入信号产生相位差。 因此,对于RC低通滤波器,相位差是负的,表示输出信号滞后于输入信号。滞后的角度随频率增加而增加,在截止频率处滞后45度,当频率趋近于无穷大时,滞后90度。 对于RC高通滤波器,根据引用[3]的提示(虽然没有直接给出公式),
recommend-type

FTP搜索工具:IP检测与数据库管理功能详解

FTP(File Transfer Protocol)即文件传输协议,是一种用于在网络上进行文件传输的协议,使得用户可以通过互联网与其他用户进行文件共享。FTP Search是一款专注于FTP文件搜索的工具,其工作原理和应用场景使其在处理大规模数据共享和远程文件管理方面具有一定的优势。 **属性页控件** 属性页控件是一种用户界面元素,通常用于组织多个属性或设置页面。在FTP Search工具中,属性页控件可能被用来显示和管理FTP搜索的各项参数。用户可以通过它来设置搜索的FTP服务器地址、登录凭证、搜索范围以及结果处理方式等。属性页控件可以提高用户操作的便利性,使得复杂的设置更加直观易懂。 **Ping命令** Ping命令是互联网上广泛使用的一种网络诊断工具。它通过发送ICMP(Internet Control Message Protocol)回显请求消息到指定的IP地址,并等待接收回显应答,以此来检测目标主机是否可达以及网络延迟情况。在FTP Search工具中,Ping命令被用来检测FTP服务器的存活状态,即是否在线并能够响应网络请求。 **扫描主机端口** 端口扫描是网络安全领域中的一个基本操作,它用于检测特定主机上的哪些端口是开放的、关闭的或是被过滤的。了解端口的状态可以帮助确定目标主机上运行的服务和应用程序。在FTP Search工具中,端口扫描功能可能被用于识别FTP服务器上开放的端口,从而帮助用户找到合适的途径进行文件传输。 **数据库管理** 数据库管理在数据密集型应用中扮演着关键角色。FTP Search工具中包含的数据库操作功能,如打开、添加、查询和关闭数据库,表明该工具可能被设计为与数据库系统交互,以便更好地处理搜索到的FTP文件信息。可能涉及到的数据库管理系统(DBMS)包括MySQL、Microsoft SQL Server、SQLite等,用户可以通过工具提供的数据库管理接口来进行数据的维护和检索。 **IP地址控件** IP地址控件是一种用户界面组件,它允许用户输入或选择一个IP地址。在FTP Search工具中,IP地址控件用于输入目标FTP服务器的IP地址,使工具能够定位并连接到相应的服务器。该控件可能还具备验证IP地址有效性(如是否符合IPv4标准)的功能,并且能提供下拉列表或自动完成来提升用户体验。 综上所述,FTP Search工具是一个集成了多种网络和数据库操作功能的实用工具。通过属性页控件,用户可以方便地配置和管理工具;Ping命令和端口扫描功能则有助于用户确认服务器的状态和可用性;数据库管理功能则确保用户能够有效地存储和查询FTP搜索结果;而IP地址控件则简化了用户对服务器地址的输入流程。这些功能相互配合,使得FTP Search工具在执行FTP搜索任务时更加强大、高效和用户友好。对于网络管理员、数据分析师、IT专业人员等,这类工具能够显著提升工作效率,尤其是在处理大规模的文件共享和数据检索时。