floatlazer / semantic_slam

Real time semantic slam in ROS with a hand held RGB-D camera
GNU General Public License v3.0
612 stars 177 forks source link

ColorPclGenerator instance has no attribute 'generate_cloud' #31

Open mingjunlovelybaby opened 3 years ago

mingjunlovelybaby commented 3 years ago

This is A great job. I am trying to run the color_pcl_generator.py file, but a little error occurred, how can I solve it? It seems that this function is not defined. Screenshot from 2021-01-05 18-20-19 Screenshot from 2021-01-05 18-25-30

codieboomboom commented 3 years ago

Hi not sure if this work, but you can try to edit this following file such that it is just an empty init.py file semantic_cloud/include/color_pcl_generator/__init__.py

codieboomboom commented 3 years ago

Might be related to this bunch of traps in Python: http://python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html