Robot Operating System/ROS

[ROS Melodic] ddynamic_reconfigure Error

jstar0525 2021. 7. 30. 19:02
반응형

Jetson AGX Xavier(with jetpack 4.5.1, ubuntu 18.04)에서

ROS Melodic을 설치하고

intel realsense ros wrapper에서 

catkin_make clean을 실행하는 중에 다음과 같은 에러가 나왔다. 

 

https://jstar0525.tistory.com/117

 

[Intel Realsense][ROS Melodic] Install realsense-ros on jetson

https://github.com/IntelRealSense/realsense-ros/blob/development/README.md#installation-instructions GitHub - IntelRealSense/realsense-ros: Intel(R) RealSense(TM) ROS Wrapper for D400 series, SR300..

jstar0525.tistory.com

 

~/catkin_ws$ catkin_make clean

Make 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
  "ddynamic_reconfigure" with any of the following names:

    ddynamic_reconfigureConfig.cmake
    ddynamic_reconfigure-config.cmake

  Add the installation prefix of "ddynamic_reconfigure" to CMAKE_PREFIX_PATH
  or set "ddynamic_reconfigure_DIR" to a directory containing one of the
  above files.  If "ddynamic_reconfigure" provides a separate development
  package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  realsense-ros/realsense2_camera/CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/robotv/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/robotv/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

 

 

 

ddynamic_reconfigure를 찾지 못했다는 이야기이며,

아래의 명령으로 ddynamic_reconfigure를 설치하여 문제를 해결하였다.

 

$ sudo apt-get update
$ sudo apt-get install ros-melodic-ddynamic-reconfigure

 

 

 

 https://github.com/IntelRealSense/realsense-ros/issues/812

 

missing dependency with ddynamic_reconfigure · Issue #812 · IntelRealSense/realsense-ros

on the last updates, the dependency folder ddynamic_reconfigure has changed the name to realsense2_description. However, the CMakeLists.txt on those updates (tags 2.2.5 and later) still link to ddy...

github.com

 

반응형