I tried to follow:
[this tuturial](http://www.ros.org/wiki/dynamic_reconfigure/Tutorials/HowToWriteYourFirstCfgFile)
the catkin version but following these instructions give:
tompe@heyer:~/lrs_ws/src/lrs_firefly_usb$ cfg/ffcam.cfg
Traceback (most recent call last):
File "cfg/ffcam.cfg", line 10, in
gen = ParameterGenerator()
File "/opt/ros/groovy/lib/python2.7/dist-packages/dynamic_reconfigure/parameter_generator_catkin.py", line 234, in __init__
self.dynconfpath = sys.argv[1] # FIXME this is awful
IndexError: list index out of range
if I just try to run the script and it does not work at all in catkin (no files generated). Replacing
from dynamic_reconfigure.parameter_generator_catkin import *
with
from dynamic_reconfigure.parameter_generator import *
works better since it at least generates the files. So is this a bug or not?
↧