问题:
– Could not find the required component ‘dynamic_reconfigure’. 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/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
“dynamic_reconfigure” with any of the following names:
dynamic_reconfigureConfig.cmake
dynamic_reconfigure-config.cmake
对于该问题:
因为缺少’dynamic_reconfigure’
所以安装就可以了:
sudo apt-get install ros-kinetic-dynamic-reconfigure
## 注意你的ros版本好,如果不是kinetic,就把kinetic换掉
## 是dynamic-reconfigure 而不是dynamic_reconfigure
对于类似问题只要把dynamic-reconfigure换掉就okl