ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

dynamic_reconfigure and catkin

asked 2013-01-07 18:39:00 -0600

Thomas gravatar image

Dear all, I would like to know if there is a way, even a workaround, of generating dynamic_reconfigure files from a catkin package. AFAIK, there is no way currently to use dynamic_reconfigure in a catkin package as the CMake macro is not compatible (rely on rosbuild macros).

  1. Is there a workaround?
  2. Is it planned for dynamic_reconfigure to switch to catkin?

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-01-07 21:46:49 -0600

adobke gravatar image

updated 2013-06-17 16:04:05 -0600

bit-pirate gravatar image

I believe there is a way do generate the files using catkin:

In your CMakeLists.txt

#add dynamic reconfigure api
find_package(catkin REQUIRED dynamic_reconfigure) generate_dynamic_reconfigure_options(relative_path_to_file1 relative_path_to_file2 ...)

From the dynamic reconfigure tutorial: http://ros.org/wiki/dynamic_reconfigure/Tutorials/HowToWriteYourFirstCfgFile

edit flag offensive delete link more

Comments

Ok, I overlooked this page, this is what I am looking for, thanks.

Thomas gravatar image Thomas  ( 2013-01-08 13:20:29 -0600 )edit
2

answered 2013-01-07 23:03:32 -0600

KruseT gravatar image

Examples of catkin packages using dynamic_reconfigure are image_rotate or stereo_image_proc: https://github.com/ros-perception/image_pipeline/tree/master/stereo_image_proc

It is possible that the documentation is not yet up-to-date for this, if you find it lacking, create a ticket on dynamic_reconfigure.

edit flag offensive delete link more

Comments

Apparently it was not lacking, just not so obvious to find. Hope this question will makes information easier to get ;)

Thomas gravatar image Thomas  ( 2013-01-08 13:21:47 -0600 )edit

Question Tools

Stats

Asked: 2013-01-07 18:39:00 -0600

Seen: 1,343 times

Last updated: Jun 17 '13