ROS Navigation-----rotate_recovery机制简介

rotate_recovery::RotateRecovery 是一种修复机制,通过机器人执行 360 度旋转完成代价地图中空间清理,继承 nav_core::RecoveryBehavior 接口,并以插件形式用于 move_base 节点。该机制假设局部规划器为 base_local_planner::TrajectoryPlannerROS。

  这个包给导航功能包集提供了一种修复机制,它尝试让机器人执行360度旋转来完成清理空间。

1 Overview

 rotate_recovery::RotateRecovery是一种简单的修复机制,通过机器人执行360度旋转完成代价地图中空间清理,继承了接口nav_core::RecoveryBehavior ,以插件方式用于move_base node。

2 RotateRecovery

 rotate_recovery::RotateRecovery将功能以 C++ ROS Wrapper导出,在初始化时指定的ROS命名空间中使用。


以下是创建rotate_recovery::RotateRecovery对象的一个示例:

#include <tf/transform_listener.h>
#include <costmap_2d/costmap_2d_ros.h>
#include <rotate_recovery/rotate_recovery.h>

...
tf::TransformListener tf(ros::Duration(10));
costmap_2d::Costmap2DROS global_costmap("global_costmap", tf);
costmap_2d::Costmap2DROS local_costmap("local_costmap", tf);

rotate_recovery::RotateRecovery rr;
rr.initialize("my_rotate_recovery", &tf, &global_costmap, &local_costmap);

rr.runBehavior();

2.1 API Stability

  • The C++ API is stable.
  • The ROS API is stable.

2.2 ROS Parameters

  rotate_recovery::RotateRecovery对象假定move_base node使用的局部规划器是base_local_planner::TrajectoryPlannerROS

2.2.1 RotateRecovery Parameters

~<name>/sim_granularity (double, default: 0.017)

  • The distance in radians between checks for obstacles when checking if an in-place rotation is safe. Defaults to 1 degree.
~<name>/frequency ( double, default: 20.0)
  • The frequency in HZ at which to send velocity commands to the mobile base.

2.2.2 TrajectoryPlannerROS Parameters

  这些参数在base_local_planner::TrajectoryPlannerROS局部规划器已经配置过, 只有当导航功能包集中的其它局部规划器被rotate_recovery::RotateRecovery使用时才有必要设置。

~TrajectoryPlannerROS/yaw_goal_tolerance (double, default: 0.05)

  • The tolerance in radians for the controller in yaw/rotation when achieving its goal
~TrajectoryPlannerROS/acc_lim_th ( double, default: 3.2)
  • The rotational acceleration limit of the robot in radians/sec^2
~TrajectoryPlannerROS/max_rotational_vel ( double, default: 1.0)
  • The maximum rotational velocity allowed for the base in radians/sec
~TrajectoryPlannerROS/min_in_place_rotational_vel ( double, default: 0.4)
  • The minimum rotational velocity allowed for the base while performing in-place rotations in radians/sec

2.2.3 C++ API

The C++ rotate_recovery::RotateRecovery class adheres to the nav_core::RecoveryBehavior interface found in the nav_core package. For detailed documentation, please see RotateRecovery documentation.
huang@huang:~/wheeltec$ catkin_make Base path: /home/huang/wheeltec Source space: /home/huang/wheeltec/src Build space: /home/huang/wheeltec/build Devel space: /home/huang/wheeltec/devel Install space: /home/huang/wheeltec/install #### #### Running command: "make cmake_check_build_system" in "/home/huang/wheeltec/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/huang/wheeltec/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/huang/wheeltec/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.12 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on WARNING: package "orb_slam2_ros" should not depend on metapackage "image_common" but on its packages instead -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 72 packages in topological order: -- ~~ - lslidar (metapackage) -- ~~ - navigation (metapackage) -- ~~ - opencv_tests -- ~~ - aruco_msgs -- ~~ - lslidar_msgs -- ~~ - nmea_msgs -- ~~ - ublox (metapackage) -- ~~ - vision_opencv (metapackage) -- ~~ - world_canvas_msgs -- ~~ - ollama_chat_ros -- ~~ - map_server -- ~~ - sh_manager -- ~~ - sparse_bundle_adjustment -- ~~ - open_karto -- ~~ - cv_bridge -- ~~ - aruco -- ~~ - darknet_ros_msgs -- ~~ - image_geometry -- ~~ - bodyreader -- ~~ - darknet_ros -- ~~ - depthimage_to_laserscan -- ~~ - ipa_building_msgs -- ~~ - ipa_building_navigation -- ~~ - kcf_track -- ~~ - ros_tensorflow -- ~~ - rplidar_ros -- ~~ - simple_follower -- ~~ - astra_camera -- ~~ - imu_tf_broadcaster -- ~~ - aruco_ros -- ~~ - fdilink_ahrs -- ~~ - ldlidar -- ~~ - ldlidar_14 -- ~~ - lslidar_driver -- ~~ - rrt_exploration -- ~~ - slam_karto -- ~~ - amcl -- ~~ - fake_localization -- ~~ - ipa_room_exploration -- ~~ - ira_laser_tools -- ~~ - laserscan_merger -- ~~ - orb_slam2_ros -- ~~ - turn_on_wheeltec_robot -- ~~ - hipnuc_imu -- ~~ - ublox_serialization -- ~~ - ublox_msgs -- ~~ - ublox_gps -- ~~ - ublox_msg_filters -- ~~ - qt_ros_test -- ~~ - usb_cam -- ~~ - voxel_grid -- ~~ - costmap_2d -- ~~ - nav_core -- ~~ - base_local_planner -- ~~ - carrot_planner -- ~~ - clear_costmap_recovery -- ~~ - dwa_local_planner -- ~~ - move_slow_and_clear -- ~~ - navfn -- ~~ - global_planner -- ~~ - rotate_recovery -- ~~ - move_base -- ~~ - teb_local_planner -- ~~ - web_video_server -- ~~ - wheeltec_aiui_ros -- ~~ - wheeltec_gps_driver -- ~~ - wheeltec_joy -- ~~ - wheeltec_multi -- ~~ - wheeltec_robot_rc -- ~~ - wheeltec_yolo_action -- ~~ - xf_mic_asr_offline_circle -- ~~ - yesense_imu -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'lslidar' -- ==> add_subdirectory(lsx10/lslidar) -- +++ processing catkin metapackage: 'navigation' -- ==> add_subdirectory(navigation-noetic-devel/navigation) -- +++ processing catkin package: 'opencv_tests' -- ==> add_subdirectory(vision_opencv-noetic/opencv_tests) -- +++ processing catkin package: 'aruco_msgs' -- ==> add_subdirectory(aruco_ros-noetic-devel/aruco_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- aruco_msgs: 2 messages, 0 services -- +++ processing catkin package: 'lslidar_msgs' -- ==> add_subdirectory(lsx10/lslidar_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- lslidar_msgs: 5 messages, 0 services -- +++ processing catkin package: 'nmea_msgs' -- ==> add_subdirectory(wheeltec_gps/nmea_msgs-master) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- nmea_msgs: 7 messages, 0 services -- +++ processing catkin metapackage: 'ublox' -- ==> add_subdirectory(wheeltec_gps/ublox-master/ublox) -- +++ processing catkin metapackage: 'vision_opencv' -- ==> add_subdirectory(vision_opencv-noetic/vision_opencv) -- +++ processing catkin package: 'world_canvas_msgs' -- ==> add_subdirectory(world_canvas_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- world_canvas_msgs: 5 messages, 17 services -- +++ processing catkin package: 'ollama_chat_ros' -- ==> add_subdirectory(ollama_chat_ros) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- ollama_chat_ros: 0 messages, 1 services -- Installing devel-space wrapper /home/huang/wheeltec/src/ollama_chat_ros/scripts/ollama_topic_client.py to /home/huang/wheeltec/devel/lib/ollama_chat_ros -- Installing devel-space wrapper /home/huang/wheeltec/src/ollama_chat_ros/scripts/ollama_topic_server.py to /home/huang/wheeltec/devel/lib/ollama_chat_ros -- Installing devel-space wrapper /home/huang/wheeltec/src/ollama_chat_ros/scripts/chat_client.py to /home/huang/wheeltec/devel/lib/ollama_chat_ros -- Installing devel-space wrapper /home/huang/wheeltec/src/ollama_chat_ros/scripts/chat_service.py to /home/huang/wheeltec/devel/lib/ollama_chat_ros -- +++ processing catkin package: 'map_server' -- ==> add_subdirectory(navigation-noetic-devel/map_server) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: filesystem -- +++ processing catkin package: 'sh_manager' -- ==> add_subdirectory(sh_manager) -- +++ processing catkin package: 'sparse_bundle_adjustment' -- ==> add_subdirectory(slam_karto/sparse_bundle_adjustment-melodic-devel) -- +++ processing catkin package: 'open_karto' -- ==> add_subdirectory(slam_karto/open_karto-melodic-devel) -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread -- +++ processing catkin package: 'cv_bridge' -- ==> add_subdirectory(vision_opencv-noetic/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 (found suitable version "4.2.0", minimum required is "4.2") found components: opencv_core opencv_imgproc opencv_imgcodecs -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.8") -- +++ processing catkin package: 'aruco' -- ==> add_subdirectory(aruco_ros-noetic-devel/aruco) -- Found OpenCV: /usr (found suitable version "4.2.0", minimum required is "4.2.0") -- +++ processing catkin package: 'darknet_ros_msgs' -- ==> add_subdirectory(darknet_ros/darknet_ros_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Generating .msg files for action darknet_ros_msgs/CheckForObjects /home/huang/wheeltec/src/darknet_ros/darknet_ros_msgs/action/CheckForObjects.action -- darknet_ros_msgs: 10 messages, 0 services -- +++ processing catkin package: 'image_geometry' -- ==> add_subdirectory(vision_opencv-noetic/image_geometry) -- Found OpenCV: /usr (found version "4.2.0") -- +++ processing catkin package: 'bodyreader' -- ==> add_subdirectory(bodyreader) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- bodyreader: 9 messages, 0 services -- +++ processing catkin package: 'darknet_ros' -- ==> add_subdirectory(darknet_ros/darknet_ros) -- Darknet path dir = /home/huang/wheeltec/src/darknet_ros/darknet -- Searching for X11... -- X11_INCLUDE_DIR: /usr/include -- X11_LIBRARIES: /usr/lib/x86_64-linux-gnu/libSM.so/usr/lib/x86_64-linux-gnu/libICE.so/usr/lib/x86_64-linux-gnu/libX11.so/usr/lib/x86_64-linux-gnu/libXext.so -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Checking and downloading yolov2-tiny.weights if needed ... -- Checking and downloading yolov3.weights if needed ... -- Checking and downloading yolov2.weights if needed ... -- +++ processing catkin package: 'depthimage_to_laserscan' -- ==> add_subdirectory(depthimage_to_laserscan-melodic-devel) -- +++ processing catkin package: 'ipa_building_msgs' -- ==> add_subdirectory(ipa_exploration/ipa_building_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Generating .msg files for action ipa_building_msgs/MapSegmentation /home/huang/wheeltec/src/ipa_exploration/ipa_building_msgs/action/MapSegmentation.action -- Generating .msg files for action ipa_building_msgs/FindRoomSequenceWithCheckpoints /home/huang/wheeltec/src/ipa_exploration/ipa_building_msgs/action/FindRoomSequenceWithCheckpoints.action -- Generating .msg files for action ipa_building_msgs/RoomExploration /home/huang/wheeltec/src/ipa_exploration/ipa_building_msgs/action/RoomExploration.action -- ipa_building_msgs: 23 messages, 2 services -- +++ processing catkin package: 'ipa_building_navigation' -- ==> add_subdirectory(ipa_exploration/ipa_building_navigation) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found OpenCV: /usr (found suitable version "4.2.0", minimum required is "4") -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: system thread chrono -- +++ processing catkin package: 'kcf_track' -- ==> add_subdirectory(kcf_track) -- Found OpenCV: /usr (found version "4.2.0") -- OpenCV_LIB_DIR: -- OpenCV_INCLUDE_DIRS: /usr/include/opencv4 -- +++ processing catkin package: 'ros_tensorflow' -- ==> add_subdirectory(ros_tensorflow) -- +++ processing catkin package: 'rplidar_ros' -- ==> add_subdirectory(rplidar_ros) -- +++ processing catkin package: 'simple_follower' -- ==> add_subdirectory(simple_follower) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- simple_follower: 1 messages, 0 services -- +++ processing catkin package: 'astra_camera' -- ==> add_subdirectory(ros_astra_camera-main) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") -- ORRBEC Machine : x86_64 -- ORRBEC Machine Bits : 64 -- ORRBEC : x64 -- libuvc .. -- astra_camera: 3 messages, 9 services -- +++ processing catkin package: 'imu_tf_broadcaster' -- ==> add_subdirectory(imu_tf_broadcaster) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Installing devel-space wrapper /home/huang/wheeltec/src/imu_tf_broadcaster/scripts/imu_tf_broadcaster.py to /home/huang/wheeltec/devel/lib/imu_tf_broadcaster -- +++ processing catkin package: 'aruco_ros' -- ==> add_subdirectory(aruco_ros-noetic-devel/aruco_ros) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'fdilink_ahrs' -- ==> add_subdirectory(fdilink_ahrs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'ldlidar' -- ==> add_subdirectory(ldlidar_stl06n_ros1/ldlidar) -- optional:-std=c++11 -Wall -Wextra -- +++ processing catkin package: 'ldlidar_14' -- ==> add_subdirectory(ldlidar_14) -- #define USE_SLBF -- +++ processing catkin package: 'lslidar_driver' -- ==> add_subdirectory(lsx10/lslidar_driver) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Warning at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'boost' but neither 'boost_INCLUDE_DIRS' nor 'boost_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) lsx10/lslidar_driver/CMakeLists.txt:22 (catkin_package) -- +++ processing catkin package: 'rrt_exploration' -- ==> add_subdirectory(rrt_exploration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- rrt_exploration: 1 messages, 0 services -- +++ processing catkin package: 'slam_karto' -- ==> add_subdirectory(slam_karto/slam_karto-melodic-devel) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'amcl' -- ==> add_subdirectory(navigation-noetic-devel/amcl) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'fake_localization' -- ==> add_subdirectory(navigation-noetic-devel/fake_localization) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'ipa_room_exploration' -- ==> add_subdirectory(ipa_exploration/ipa_room_exploration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found OpenCV: /usr (found suitable version "4.2.0", minimum required is "4") -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: system chrono thread -- Gurobi has not been found -- Could NOT find GUROBI (missing: GUROBI_LIBRARY GUROBI_CXX_LIBRARY GUROBI_INCLUDE_DIR) -- Gurobi include dirs: -- Gurobi lib dirs: -- Checking for module 'coinutils' -- Found coinutils, version 2.11.4 -- Checking for module 'osi-clp' -- No package 'osi-clp' found CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal) ipa_exploration/ipa_room_exploration/CMakeLists.txt:78 (pkg_check_modules) -- Configuring incomplete, errors occurred! See also "/home/huang/wheeltec/build/CMakeFiles/CMakeOutput.log". See also "/home/huang/wheeltec/build/CMakeFiles/CMakeError.log". make: *** [Makefile:1062:cmake_check_build_system] 错误 1 Invoking "make cmake_check_build_system" failed
最新发布
08-15
shr@ubuntu:~$ sudo apt install ros-noetic-navigation 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 将会同时安装下列软件: ros-noetic-amcl ros-noetic-base-local-planner ros-noetic-carrot-planner ros-noetic-clear-costmap-recovery ros-noetic-costmap-2d ros-noetic-dwa-local-planner ros-noetic-fake-localization ros-noetic-global-planner ros-noetic-move-base ros-noetic-move-base-msgs ros-noetic-move-slow-and-clear ros-noetic-nav-core ros-noetic-navfn ros-noetic-rotate-recovery ros-noetic-voxel-grid 下列【新】软件包将被安装: ros-noetic-amcl ros-noetic-base-local-planner ros-noetic-carrot-planner ros-noetic-clear-costmap-recovery ros-noetic-costmap-2d ros-noetic-dwa-local-planner ros-noetic-fake-localization ros-noetic-global-planner ros-noetic-move-base ros-noetic-move-base-msgs ros-noetic-move-slow-and-clear ros-noetic-nav-core ros-noetic-navfn ros-noetic-navigation ros-noetic-rotate-recovery ros-noetic-voxel-grid 升级了 0 个软件包,新安装了 16 个软件包,要卸载 0 个软件包,有 64 个软件包未被升级。 需要下载 1,931 kB 的归档。 解压缩后会消耗 9,841 kB 的额外空间。 您希望继续执行吗? [Y/n] y 获取:1 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-amcl amd64 1.17.3-1focal.20250521.001518 [268 kB] 获取:2 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-voxel-grid amd64 1.17.3-1focal.20250519.231756 [16.7 kB] 获取:3 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-costmap-2d amd64 1.17.3-1focal.20250521.001646 [449 kB] 获取:4 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-nav-core amd64 1.17.3-1focal.20250521.004844 [8,784 B] 获取:5 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-base-local-planner amd64 1.17.3-1focal.20250521.005206 [243 kB] 获取:6 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-carrot-planner amd64 1.17.3-1focal.20250521.010103 [35.6 kB] 获取:7 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-clear-costmap-recovery amd64 1.17.3-1focal.20250521.005210 [42.4 kB] 获取:8 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-dwa-local-planner amd64 1.17.3-1focal.20250521.005823 [123 kB] 获取:9 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-fake-localization amd64 1.17.3-1focal.20250520.001758 [104 kB] 获取:10 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-navfn amd64 1.17.3-1focal.20250521.005304 [122 kB] 获取:11 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-global-planner amd64 1.17.3-1focal.20250521.005728 [145 kB] 获取:12 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-move-base-msgs amd64 1.14.2-1focal.20250516.000952 [32.9 kB] 获取:13 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-rotate-recovery amd64 1.17.3-1focal.20250521.010109 [39.4 kB] 获取:14 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-move-base amd64 1.17.3-1focal.20250521.010519 [249 kB] 获取:15 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-move-slow-and-clear amd64 1.17.3-1focal.20250521.005242 [49.3 kB] 获取:16 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-navigation amd64 1.17.3-1focal.20250521.011054 [3,064 B] 已下载 1,931 kB,耗时 50秒 (38.6 kB/s) 正在选中未选择的软件包 ros-noetic-amcl。 (正在读取数据库 ... 系统当前共安装有 250290 个文件和目录。) 准备解压 .../00-ros-noetic-amcl_1.17.3-1focal.20250521.001518_amd64.deb ... 正在解压 ros-noetic-amcl (1.17.3-1focal.20250521.001518) ... 正在选中未选择的软件包 ros-noetic-voxel-grid。 准备解压 .../01-ros-noetic-voxel-grid_1.17.3-1focal.20250519.231756_amd64.deb . .. 正在解压 ros-noetic-voxel-grid (1.17.3-1focal.20250519.231756) ... 正在选中未选择的软件包 ros-noetic-costmap-2d。 准备解压 .../02-ros-noetic-costmap-2d_1.17.3-1focal.20250521.001646_amd64.deb . .. 正在解压 ros-noetic-costmap-2d (1.17.3-1focal.20250521.001646) ... 正在选中未选择的软件包 ros-noetic-nav-core。 准备解压 .../03-ros-noetic-nav-core_1.17.3-1focal.20250521.004844_amd64.deb ... 正在解压 ros-noetic-nav-core (1.17.3-1focal.20250521.004844) ... 正在选中未选择的软件包 ros-noetic-base-local-planner。 准备解压 .../04-ros-noetic-base-local-planner_1.17.3-1focal.20250521.005206_amd6 4.deb ... 正在解压 ros-noetic-base-local-planner (1.17.3-1focal.20250521.005206) ... 正在选中未选择的软件包 ros-noetic-carrot-planner。 准备解压 .../05-ros-noetic-carrot-planner_1.17.3-1focal.20250521.010103_amd64.de b ... 正在解压 ros-noetic-carrot-planner (1.17.3-1focal.20250521.010103) ... 正在选中未选择的软件包 ros-noetic-clear-costmap-recovery。 准备解压 .../06-ros-noetic-clear-costmap-recovery_1.17.3-1focal.20250521.005210_ amd64.deb ... 正在解压 ros-noetic-clear-costmap-recovery (1.17.3-1focal.20250521.005210) ... 正在选中未选择的软件包 ros-noetic-dwa-local-planner。 准备解压 .../07-ros-noetic-dwa-local-planner_1.17.3-1focal.20250521.005823_amd64 .deb ... 正在解压 ros-noetic-dwa-local-planner (1.17.3-1focal.20250521.005823) ... 正在选中未选择的软件包 ros-noetic-fake-localization。 准备解压 .../08-ros-noetic-fake-localization_1.17.3-1focal.20250520.001758_amd64 .deb ... 正在解压 ros-noetic-fake-localization (1.17.3-1focal.20250520.001758) ... 正在选中未选择的软件包 ros-noetic-navfn。 准备解压 .../09-ros-noetic-navfn_1.17.3-1focal.20250521.005304_amd64.deb ... 正在解压 ros-noetic-navfn (1.17.3-1focal.20250521.005304) ... 正在选中未选择的软件包 ros-noetic-global-planner。 准备解压 .../10-ros-noetic-global-planner_1.17.3-1focal.20250521.005728_amd64.de b ... 正在解压 ros-noetic-global-planner (1.17.3-1focal.20250521.005728) ... 正在选中未选择的软件包 ros-noetic-move-base-msgs。 准备解压 .../11-ros-noetic-move-base-msgs_1.14.2-1focal.20250516.000952_amd64.de b ... 正在解压 ros-noetic-move-base-msgs (1.14.2-1focal.20250516.000952) ... 正在选中未选择的软件包 ros-noetic-rotate-recovery。 准备解压 .../12-ros-noetic-rotate-recovery_1.17.3-1focal.20250521.010109_amd64.d eb ... 正在解压 ros-noetic-rotate-recovery (1.17.3-1focal.20250521.010109) ... 正在选中未选择的软件包 ros-noetic-move-base。 准备解压 .../13-ros-noetic-move-base_1.17.3-1focal.20250521.010519_amd64.deb .. . 正在解压 ros-noetic-move-base (1.17.3-1focal.20250521.010519) ... 正在选中未选择的软件包 ros-noetic-move-slow-and-clear。 准备解压 .../14-ros-noetic-move-slow-and-clear_1.17.3-1focal.20250521.005242_amd 64.deb ... 正在解压 ros-noetic-move-slow-and-clear (1.17.3-1focal.20250521.005242) ... 正在选中未选择的软件包 ros-noetic-navigation。 准备解压 .../15-ros-noetic-navigation_1.17.3-1focal.20250521.011054_amd64.deb . .. 正在解压 ros-noetic-navigation (1.17.3-1focal.20250521.011054) ... 正在设置 ros-noetic-amcl (1.17.3-1focal.20250521.001518) ... 正在设置 ros-noetic-voxel-grid (1.17.3-1focal.20250519.231756) ... 正在设置 ros-noetic-move-base-msgs (1.14.2-1focal.20250516.000952) ... 正在设置 ros-noetic-costmap-2d (1.17.3-1focal.20250521.001646) ... 正在设置 ros-noetic-fake-localization (1.17.3-1focal.20250520.001758) ... 正在设置 ros-noetic-nav-core (1.17.3-1focal.20250521.004844) ... 正在设置 ros-noetic-clear-costmap-recovery (1.17.3-1focal.20250521.005210) ... 正在设置 ros-noetic-move-slow-and-clear (1.17.3-1focal.20250521.005242) ... 正在设置 ros-noetic-rotate-recovery (1.17.3-1focal.20250521.010109) ... 正在设置 ros-noetic-navfn (1.17.3-1focal.20250521.005304) ... 正在设置 ros-noetic-base-local-planner (1.17.3-1focal.20250521.005206) ... 正在设置 ros-noetic-carrot-planner (1.17.3-1focal.20250521.010103) ... 正在设置 ros-noetic-move-base (1.17.3-1focal.20250521.010519) ... 正在设置 ros-noetic-global-planner (1.17.3-1focal.20250521.005728) ... 正在设置 ros-noetic-dwa-local-planner (1.17.3-1focal.20250521.005823) ... 正在设置 ros-noetic-navigation (1.17.3-1focal.20250521.011054) ... shr@ubuntu:~$ rospack find gmapping /opt/ros/noetic/share/gmapping shr@ubuntu:~$ rospack find map_server /opt/ros/noetic/share/map_server shr@ubuntu:~$ rospack find navigation [rospack] Error: package 'navigation' not found shr@ubuntu:~$ rospack find navigation [rospack] Error: package 'navigation' not found shr@ubuntu:~$
07-29
EPRobot@EPRobot:~/robot_ws$ cd ~/robot_ws # 在每次打开新终端时运行 EPRobot@EPRobot:~/robot_ws$ catkin_make Base path: /home/EPRobot/robot_ws Source space: /home/EPRobot/robot_ws/src Build space: /home/EPRobot/robot_ws/build Devel space: /home/EPRobot/robot_ws/devel Install space: /home/EPRobot/robot_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/EPRobot/robot_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/EPRobot/robot_ws/devel -- Using CMAKE_PREFIX_PATH: /home/EPRobot/robot_ws/devel;/opt/ros/melodic -- This workspace overlays: /home/EPRobot/robot_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/EPRobot/robot_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 62 packages in topological order: -- ~~ - astra_launch -- ~~ - base_control -- ~~ - hibot_follower -- ~~ - lslidar (metapackage) -- ~~ - navigation (metapackage) -- ~~ - robot_navigation -- ~~ - robot_upstart -- ~~ - simple_navigation_goals -- ~~ - lslidar_msgs -- ~~ - rospy_message_converter -- ~~ - eprobot_auto_home -- ~~ - eprobot_start -- ~~ - ls01d -- ~~ - map_server -- ~~ - hls_lfcd_lds_driver -- ~~ - iiiroboticslidar2 -- ~~ - astra_camera -- ~~ - rplidar_ros -- ~~ - eprobot_joy -- ~~ - lslidar_driver -- ~~ - robot_pose_ekf -- ~~ - sc_mini -- ~~ - amcl -- ~~ - fake_localization -- ~~ - laser_filters -- ~~ - robot_localization -- ~~ - track_detection -- ~~ - voxel_grid -- ~~ - costmap_2d -- ~~ - nav_core -- ~~ - base_local_planner -- ~~ - carrot_planner -- ~~ - clear_costmap_recovery -- ~~ - dwa_local_planner -- ~~ - move_slow_and_clear -- ~~ - navfn -- ~~ - global_planner -- ~~ - rotate_recovery -- ~~ - move_base -- ~~ - teb_local_planner -- ~~ - eprobot_description -- ~~ - xf_mic_asr_offline -- ~~ - ydlidar -- ~~ - yocs_ar_pair_approach -- ~~ - yocs_cmd_vel_mux -- ~~ - yocs_controllers -- ~~ - yocs_keyop -- ~~ - yocs_localization_manager -- ~~ - yocs_math_toolkit -- ~~ - yocs_ar_marker_tracking -- ~~ - yocs_diff_drive_pose_controller -- ~~ - yocs_ar_pair_tracking -- ~~ - yocs_joyop -- ~~ - yocs_navi_toolkit -- ~~ - yocs_navigator -- ~~ - yocs_rapps -- ~~ - yocs_safety_controller -- ~~ - yocs_velocity_smoother -- ~~ - yocs_virtual_sensor -- ~~ - yocs_waypoint_provider -- ~~ - yocs_waypoints_navi -- ~~ - yujin_ocs (metapackage) -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'astra_launch' -- ==> add_subdirectory(ros_astra_launch) -- +++ processing catkin package: 'base_control' -- ==> add_subdirectory(base_control) -- +++ processing catkin package: 'hibot_follower' -- ==> add_subdirectory(hibot_follower) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Warning at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'system_lib' but neither 'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) hibot_follower/CMakeLists.txt:24 (catkin_package) -- +++ processing catkin metapackage: 'lslidar' -- ==> add_subdirectory(lslidar) -- +++ processing catkin metapackage: 'navigation' -- ==> add_subdirectory(navigation-melodic/navigation) -- +++ processing catkin package: 'robot_navigation' -- ==> add_subdirectory(robot_navigation) -- +++ processing catkin package: 'robot_upstart' -- ==> add_subdirectory(robot_upstart) -- +++ processing catkin package: 'simple_navigation_goals' -- ==> add_subdirectory(simple_navigation_goals) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'lslidar_msgs' -- ==> add_subdirectory(lslidar_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- lslidar_msgs: 5 messages, 0 services -- +++ processing catkin package: 'rospy_message_converter' -- ==> add_subdirectory(rospy_message_converter) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- rospy_message_converter: 4 messages, 1 services -- +++ processing catkin package: 'eprobot_auto_home' -- ==> add_subdirectory(eprobot_auto_home) -- +++ processing catkin package: 'eprobot_start' -- ==> add_subdirectory(eprobot_start) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Warning at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'system_lib' but neither 'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) eprobot_start/CMakeLists.txt:24 (catkin_package) -- +++ processing catkin package: 'ls01d' -- ==> add_subdirectory(lidar/ls01d) -- +++ processing catkin package: 'map_server' -- ==> add_subdirectory(navigation-melodic/map_server) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- filesystem -- system -- +++ processing catkin package: 'hls_lfcd_lds_driver' -- ==> add_subdirectory(lidar/hls_lfcd_lds_driver) -- Boost version: 1.65.1 -- +++ processing catkin package: 'iiiroboticslidar2' -- ==> add_subdirectory(lidar/iiiroboticslidar2_ros) -- +++ processing catkin package: 'astra_camera' -- ==> add_subdirectory(ros_astra_camera) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- thread -- chrono -- date_time -- atomic -- ORRBEC Machine : aarch64 -- ORRBEC Machine Bits : 64 -- ORRBEC : arm64 -- libuvc 0.0.6 -- astra_camera: 0 messages, 19 services -- +++ processing catkin package: 'rplidar_ros' -- ==> add_subdirectory(lidar/rplidar_ros) -- +++ processing catkin package: 'eprobot_joy' -- ==> add_subdirectory(eprobot_joy) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Warning at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'system_lib' but neither 'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) eprobot_joy/CMakeLists.txt:39 (catkin_package) -- +++ processing catkin package: 'lslidar_driver' -- ==> add_subdirectory(lslidar_driver) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 CMake Warning at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'boost' but neither 'boost_INCLUDE_DIRS' nor 'boost_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) lslidar_driver/CMakeLists.txt:22 (catkin_package) -- +++ processing catkin package: 'robot_pose_ekf' -- ==> add_subdirectory(robot_pose_ekf) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- thread -- chrono -- system -- date_time -- atomic -- robot_pose_ekf: 0 messages, 1 services -- +++ processing catkin package: 'sc_mini' -- ==> add_subdirectory(lidar/sc_mini) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- +++ processing catkin package: 'amcl' -- ==> add_subdirectory(navigation-melodic/amcl) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- +++ processing catkin package: 'fake_localization' -- ==> add_subdirectory(navigation-melodic/fake_localization) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- +++ processing catkin package: 'laser_filters' -- ==> add_subdirectory(laser_filters) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- +++ processing catkin package: 'robot_localization' -- ==> add_subdirectory(robot_localization) robot_localization: You did not request a specific build type: selecting 'RelWithDebInfo'. -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- robot_localization: 0 messages, 7 services -- +++ processing catkin package: 'track_detection' -- ==> add_subdirectory(track_detection) -- +++ processing catkin package: 'voxel_grid' -- ==> add_subdirectory(navigation-melodic/voxel_grid) -- +++ processing catkin package: 'costmap_2d' -- ==> add_subdirectory(navigation-melodic/costmap_2d) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- thread -- chrono -- date_time -- atomic -- costmap_2d: 1 messages, 0 services -- +++ processing catkin package: 'nav_core' -- ==> add_subdirectory(navigation-melodic/nav_core) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'base_local_planner' -- ==> add_subdirectory(navigation-melodic/base_local_planner) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- thread -- chrono -- system -- date_time -- atomic -- base_local_planner: 1 messages, 0 services -- +++ processing catkin package: 'carrot_planner' -- ==> add_subdirectory(navigation-melodic/carrot_planner) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'clear_costmap_recovery' -- ==> add_subdirectory(navigation-melodic/clear_costmap_recovery) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'dwa_local_planner' -- ==> add_subdirectory(navigation-melodic/dwa_local_planner) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'move_slow_and_clear' -- ==> add_subdirectory(navigation-melodic/move_slow_and_clear) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.65.1 -- Found the following Boost libraries: -- thread -- chrono -- system -- date_time -- atomic -- +++ processing catkin package: 'navfn' -- ==> add_subdirectory(navigation-melodic/navfn) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- navfn: 0 messages, 2 services -- NAVFN_HAVE_FLTK: , NETPBM: 1 -- FLTK orf NETPBM not found: cannot build navtest -- +++ processing catkin package: 'global_planner' -- ==> add_subdirectory(navigation-melodic/global_planner) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'rotate_recovery' -- ==> add_subdirectory(navigation-melodic/rotate_recovery) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'move_base' -- ==> add_subdirectory(navigation-melodic/move_base) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'teb_local_planner' -- ==> add_subdirectory(teb_local_planner-melodic) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- System: Linux-5.3.0-1030-raspi2 -- /opt/ros/melodic/share/cmake_modules/cmake/../../../share/cmake_modules/cmake/Modules;/home/EPRobot/robot_ws/src/teb_local_planner-melodic/cmake_modules -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- thread -- graph -- chrono -- date_time -- atomic -- Found SuiteSparse -- Searching for g2o ... -- Found g2o headers in: /opt/ros/melodic/include/g2o -- Found libg2o: /opt/ros/melodic/lib/libg2o_csparse_extension.so;/opt/ros/melodic/lib/libg2o_core.so;/opt/ros/melodic/lib/libg2o_stuff.so;/opt/ros/melodic/lib/libg2o_types_slam2d.so;/opt/ros/melodic/lib/libg2o_types_slam3d.so;/opt/ros/melodic/lib/libg2o_solver_cholmod.so;/opt/ros/melodic/lib/libg2o_solver_pcg.so;/opt/ros/melodic/lib/libg2o_solver_csparse.so;/opt/ros/melodic/lib/libg2o_incremental.so -- teb_local_planner: 3 messages, 0 services -- +++ processing catkin package: 'eprobot_description' -- ==> add_subdirectory(eprobot_description) -- +++ processing catkin package: 'xf_mic_asr_offline' -- ==> add_subdirectory(xf_mic_asr_offline) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- xf_mic_asr_offline: 2 messages, 7 services -- +++ processing catkin package: 'ydlidar' -- ==> add_subdirectory(ydlidar) -- +++ processing catkin package: 'yocs_ar_pair_approach' -- ==> add_subdirectory(yujin_ocs/yocs_ar_pair_approach) -- +++ processing catkin package: 'yocs_cmd_vel_mux' -- ==> add_subdirectory(yujin_ocs/yocs_cmd_vel_mux) -- +++ processing catkin package: 'yocs_controllers' -- ==> add_subdirectory(yujin_ocs/yocs_controllers) -- +++ processing catkin package: 'yocs_keyop' -- ==> add_subdirectory(yujin_ocs/yocs_keyop) -- Could NOT find ecl_threads (missing: ecl_threads_DIR) -- Could not find the required component 'ecl_threads'. 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 file provided by "ecl_threads" with any of the following names: ecl_threadsConfig.cmake ecl_threads-config.cmake Add the installation prefix of "ecl_threads" to CMAKE_PREFIX_PATH or set "ecl_threads_DIR" to a directory containing one of the above files. If "ecl_threads" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): yujin_ocs/yocs_keyop/CMakeLists.txt:3 (find_package) -- Configuring incomplete, errors occurred! See also "/home/EPRobot/robot_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/EPRobot/robot_ws/build/CMakeFiles/CMakeError.log". Makefile:9560: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed EPRobot@EPRobot:~/robot_ws$ source devel/setup.bash # 在每次打开新终端时运行
07-17
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值