dynamic_reconfigure: cfg file generation not producing __init__.py file correctly
I've encountered an issue with dynamic_reconfigure (working with python) not producing an __init__.py
in the configuration module directory:
As expected, the generator produces a new directory my_module
(with a cfg
directory within) in my src
directory. It does create an __init__.py
file within the cfg
directory but not within my_module
itself. Python doesn't recognize this as a module and I get the following error:
ImportError: No module named my_module.cfg
Manually creating an __init__.py
file within the my_module
directory solves this problem. Is anyone else encountering this issue? Is it a bug or do I have a setting wrong somewhere? Thanks in advance!
System: Ubuntu 10.10, Python Version: 2.7.1, ROS Electric and Diamondback