ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
when one wants to use dynamic_reconfigure usually crates cfg folder as you did. You do not need __init__.py
in the cfg folder.
after that you should call following in your CMakeLists.txt
:
generate_dynamic_reconfigure_options(
cfg/params.cfg
)
To answer concrete on your questions.
You should never change default target locations of your files in ROS in that way you will just get problems. ROS will after building the workspace with the package automatically create in your ros
folder build
and devel
subfolder. When you execute source ros/devel/setup.bash
you will have all paths of your system set-up correctly.
ros/devel
all header files for cpp and modules for pythonros/devel/include/_package_name_/include
For more detail see: https://wiki.ros.org/catkin/workspaces and https://wiki.ros.org/dynamic_reconfigure