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

How to solve '[rosrun] Couldn't find executable named orb_template.py below /opt/ros/fuerte/share/object_recognition_core' ?

asked 2012-09-21 19:22:12 -0500

sam gravatar image

I try to run object_recognition on fuerte.

When I run:

  sam@sam:~/code/ros/pcl/pcl_3d_recognition$ rosrun object_recognition_core orb_template.py -o my_textured_plane
  [rosrun] Couldn't find executable named orb_template.py below /opt/ros/fuerte/share/object_recognition_core
  sam@sam:~/code/ros/pcl/pcl_3d_recognition$

How to solve it?

Thank you~

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-09-23 13:00:42 -0500

dejanpan gravatar image

On my installation (checked-out following the instructions for fuerte here: http://ecto.willowgarage.com/recognition/), the orb_template.py resides in object_recognition_capture/apps. D.

edit flag offensive delete link more

Comments

Why object_recognition_capture is not a package? That caused me couldn't use rosrun to run orb_template.py.

sam gravatar image sam  ( 2012-09-25 17:03:03 -0500 )edit
0

answered 2012-09-23 21:02:55 -0500

tom123 gravatar image

updated 2012-09-23 21:06:29 -0500

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 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) raises some issues since the other 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

edit flag offensive delete link more

Comments

I would then not know how to help you further. Can you try to bring this to Vincent Rabaud's attention? I think that he is maintaining the code at the moment.

dejanpan gravatar image dejanpan  ( 2012-09-24 11:05:15 -0500 )edit

I have the same problem with 'ImportError: No module named roscompat'. I use the stack which not download manually but using apt-get to install. What to do next? I'm not quite understand why the whole object recognition stack's almost first instruction will be failed to executed? Thank you~

sam gravatar image sam  ( 2012-09-25 17:07:49 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-09-21 19:22:12 -0500

Seen: 1,409 times

Last updated: Sep 23 '12