Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 126

Catkin migration dynamic reconfigure

$
0
0
Hello, I'm migrating a project from rosbuild to catkin, and I'm having some problems with the files using dynamic reconfigure. Currently I'm trying to make the package "controller" which contains a configuration file called dynconfig.cfg. I followed the migration tutorial to adapt my files, so here's what I did: - Removed `import roslib;roslib.load_manifest(PACKAGE)` in the .cfg file - Changed `from dynamic_reconfigure.parameter_generator import *` to `from dynamic_reconfigure.parameter_generator_catkin import *` in the .cfg file - Added `generate_dynamic_reconfigure_options(cfg/dynconfig.cfg)` to my CMakeLists.txt - Added the `dynamic_reconfigure` dependencies (as run_depend and build_depend in the package.xml as well as in `find_package` and `catkin_package` in the CMakeLists) - Added `add_dependencies(controller controller_controller)` in the CMakeLists. I'm not quite sure if this is right. I have an executable called controller in the package controller. However, I don't think that's where the error comes from. Here's the error I get: > make[2]: *** No rule to make target `/home/bic039/catkin_ws/src/controller/cfg/dynconfig.cfg', needed by `/home/bic039/catkin_ws/devel/include/controller/dynconfigConfig.h'. Stop. Does anybody have an idea where this error might come from? I've been stuck on this issue for quite a while. Cheers, Rob

Viewing all articles
Browse latest Browse all 126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>