ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The issue was the import statement.
My .cfg file was named Pcl.cfg
And had the following in it -
exit(gen.generate(PACKAGE, "test_package", "Pcl"))
I thought, as per the tutorials, I should import it based on the 3rd argument above.
So my import statement was
from Pcl.cfg import PclConfig
Which was wrong. It was instead supposed to be -
from test_package.cfg import PclConfig
My fault for not thoroughly going through the tutorial on this one.