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

Revision history [back]

click to hide/show revision 1
initial version

Dont use that code, you have to migrate it to catkin. It has a few steps, from

http://wiki.ros.org/catkin/migrating_from_rosbuild

dynamic_reconfigure

For each .cfg file:

Remove "import roslib;roslib.load_manifest(PACKAGE)". Change "from dynamic_reconfigure.parameter_generator import *" to "from dynamic_reconfigure.parameter_generator_catkin import *" In CMakeLists.txt, add the following before the call to catkin_package():

generate_dynamic_reconfigure_options(cfg/DynFile1.cfg cfg/DynFile2.cfg ...)

make sure configure headers are built before any node using them

add_dependencies(example_node ${${PROJECT_NAME}_EXPORTED_TARGETS}) For more details see: the catkin dynamic reconfigure how-to and dynamic_reconfigure >tutorial