Skip to content

Commit

Permalink
Added a comment about name argument
Browse files Browse the repository at this point in the history
  • Loading branch information
esteve committed Apr 2, 2015
1 parent df9096a commit 4b781b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dynamic_reconfigure/parameter_generator_catkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ def mkdirabs(self, path):
raise

def generate(self, pkgname, nodename, name):
"""
name must match the first part of the configuration file.
e.g. given Tutorials.cfg, name must be Tutorials
"""
try:
if sys.modules['__main__']._DYNAMIC_RECONFIGURE_GENERATING_DEPENDENCIES:
# Done this way because importing this module from gendeps
Expand Down

0 comments on commit 4b781b7

Please sign in to comment.