wg-perception / linemod

An OR pipeline based on LINE-MOD from OpenCV
47 stars 54 forks source link

ERROR: When trying to start linemod training #4

Closed destogl closed 11 years ago

destogl commented 11 years ago

This is call:

rosrun object_recognition_core training -c `rospack find object_recognition_linemod`/conf/training.ork

got this error:

Traceback (most recent call last):
  File "/home/destogl/Workspace/ros/catkin_ws/src/object_recognition_core/apps/training", line 19, in <module>
    pipeline_class = find_class([ pipeline_param['module'] ], pipeline_param['type'] )
  File "/home/destogl/Workspace/ros/catkin_ws/src/object_recognition_core/python/object_recognition_core/utils/find_classes.py", line 141, in find_class
    classes = find_cells(modules, base_types)
  File "/home/destogl/Workspace/ros/catkin_ws/src/object_recognition_core/python/object_recognition_core/utils/find_classes.py", line 95, in find_cells
    potential_cells = find_classes(modules, [])
  File "/home/destogl/Workspace/ros/catkin_ws/src/object_recognition_core/python/object_recognition_core/utils/find_classes.py", line 37, in find_classes
    m = __import__(module)
  File "/home/destogl/Workspace/ros/catkin_ws/devel/lib/python2.7/dist-packages/object_recognition_linemod/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 1, in <module>
  File "/home/destogl/Workspace/ros/catkin_ws/src/linemod/python/object_recognition_linemod/detector.py", line 7, in <module>
    import ecto_cells.ecto_linemod as ecto_linemod
ImportError: /home/destogl/Workspace/ros/catkin_ws/devel/lib/libobject_recognition_renderer_glut.so: undefined symbol: glFramebufferTexture2D
destogl commented 11 years ago

It was problem with Nvidia driver. I just switched to opensource default driver and now is working.

vrabaud commented 11 years ago

another solution is to compile the osmesa version (just look inside the CMake) which is great as it does not require any GPU. The problem is that if your version is too old, results can be crappy (the quality of OSMesa varies over time).