ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Sadly the suggested answer is not completely working, for multiple reasons:

  • If the object_recognition package has been downloaded from the repositories (ros-fuerte-object-recognition-*), launching by hand the file /opt/ros/fuerte/share/object_recognition_capture/bin/orb_template.py does not work for this reason:

    Traceback (most recent call last):
    File "/opt/ros/fuerte/share/object_recognition_capture/bin/orb_template.py",
    line 2, in <module>
    
    import roscompat
    ImportError: No module named roscompat
    
    • The tutorial that explains how to download and build from source in the same page isn't viable because it has some catkin issues when invoking cmake:

cmake .. -- Found gtest: gtests will be built TODO: implement add_roslaunch_check() in rostest-extras.cmake -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing packages in topological order: -- ~~ - ecto -- ~~ - ecto_opencv -- ~~ - ecto_image_pipeline -- ~~ - ecto_openni -- ~~ - ecto_ros -- ~~ - ecto_pcl -- ~~ - object_recognition_core -- ~~ - object_recognition_capture -- ~~ - object_recognition_linemod -- ~~ - object_recognition_msgs -- ~~ - object_recognition_reconstruction -- ~~ - object_recognition_tabletop -- ~~ - object_recognition_tod -- ~~ - object_recognition_transparent_objects -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ add_subdirectory(ecto) CMake Error at ecto/CMakeLists.txt:37 (catkin_package_export): Unknown CMake command "catkin_package_export".

-- Configuring incomplete, errors occurred!
  • Third and last thing, trying to run the /object_recognition_capture/apps/orb_template.py pulled from github as a standalone executable (obviously) there are some issues related to the incorrect installation of the other packages:

    Traceback (most recent call last): File "./object_recognition_capture/apps/orb_template.py", line 8, in <module> from ecto_openni import SXGA_RES, FPS_15 ImportError: No module named ecto_openni

Sadly the suggested answer is not completely working, for multiple reasons:

  • If the object_recognition package has been downloaded from the repositories (ros-fuerte-object-recognition-*), launching by hand the file /opt/ros/fuerte/share/object_recognition_capture/bin/orb_template.py does not work results in a failure for this reason:

    Traceback (most recent call last):
    File "/opt/ros/fuerte/share/object_recognition_capture/bin/orb_template.py",
    line 2, in <module>
    
    import roscompat
    ImportError: No module named roscompat
    
    • The tutorial that explains how to download and build from source in the same page isn't viable because it has some catkin issues when invoking cmake:

cmake .. -- Found gtest: gtests will be built TODO: implement add_roslaunch_check() in rostest-extras.cmake -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing packages in topological order: -- ~~ - ecto -- ~~ - ecto_opencv -- ~~ - ecto_image_pipeline -- ~~ - ecto_openni -- ~~ - ecto_ros -- ~~ - ecto_pcl -- ~~ - object_recognition_core -- ~~ - object_recognition_capture -- ~~ - object_recognition_linemod -- ~~ - object_recognition_msgs -- ~~ - object_recognition_reconstruction -- ~~ - object_recognition_tabletop -- ~~ - object_recognition_tod -- ~~ - object_recognition_transparent_objects -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ add_subdirectory(ecto) CMake Error at ecto/CMakeLists.txt:37 (catkin_package_export): Unknown CMake command "catkin_package_export".

-- Configuring incomplete, errors occurred!
  • Third and last thing, trying to run the /object_recognition_capture/apps/orb_template.py pulled from github as a standalone executable (obviously) there are raises some issues related to the incorrect installation of since the other packages: packages are not installed:

    Traceback (most recent call last): File "./object_recognition_capture/apps/orb_template.py", line 8, in <module> from ecto_openni import SXGA_RES, FPS_15 ImportError: No module named ecto_openni