Dynamic Reconfigure in Hydro- gencfg()
Hey everybody!
While trying to create a dynamic reconfigure node in ROS Hydro, I followed this tutorial: wiki.ros.org/dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode
I tried to catkin_make my package and I get various errors, mainly because it seems to be an outdated version and the packages of dynamic_reconfigure still have commands like rosbuild which I cannot compile (e.g. I include the following lines in the CMakeLists.txt:
# add dynamic reconfigure api
include(/opt/ros/hydro/share/dynamic_reconfigure/cmake/cfgbuild.cmake)
gencfg()
and catkin_make gives me the following errors:
CMake Error at /opt/ros/hydro/share/dynamic_reconfigure/cmake/cfgbuild.cmake:23
(add_dependencies):
add_dependencies Adding dependency to non-existent target:
rospack_genmsg_libexe
Call Stack (most recent call first):
imagepub/CMakeLists.txt:195 (include)
CMake Error at /opt/ros/hydro/share/dynamic_reconfigure/cmake/cfgbuild.cmake:31 (rosbuild_find_ros_package):
Unknown CMake command "rosbuild_find_ros_package".
Call Stack (most recent call first):
imagepub/CMakeLists.txt:195 (include)
Is there a newer tutorial I can look at? Or if not, are there new packages/cmake files I should use?
Thank you!