catkin make failling when I will use dynamic reconfigure

asked 2017-06-29 08:00:52 -0500

artskmk gravatar image

I want to use dynamic reconfigure and I changed cmakelist.txt and package.xml like below method

################################################
## Declare ROS dynamic reconfigure parameters ##
################################################

## To declare and build dynamic reconfigure parameters within this
## package, follow these steps:
## * In the file package.xml:
##    * add a build_depend and a run_depend tag for "dynamic_reconfigure"
## * In this file (CMakeLists.txt):
##     * add "dynamic_reconfigure" to
##     find_package(catkin REQUIRED COMPONENTS ...)
##     * uncomment the "generate_dynamic_reconfigure_options" section below
##     and list every .cfg file to be processed

And I do catkin_make but there are error

__________________________________________________________________________________________

CMake Error at object_tracker/CMakeLists.txt:94 (generate_dynamic_reconfigure_options): Unknown CMake command "generate_dynamic_reconfigure_options".

__________________________________________________________________________________________

I use ubuntu14.04 and indigo

how can I solve this plobrem?

edit retag flag offensive close merge delete

Comments

Put your entire CMakeLists.txt into the question.

lucasw gravatar imagelucasw ( 2017-07-01 04:49:32 -0500 )edit

Did you add dynamic_reconfigure in find_package?

DavidN gravatar imageDavidN ( 2017-07-02 21:07:18 -0500 )edit