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

object_recognition_kitchen with Kinetic on Ubuntu 16.04

asked 2016-09-02 00:15:41 -0600

byeongkyu gravatar image

How can I use the object_recognition_kitchen with Kinetic on Ubuntu 16.04 and Asus Xtion?

I tried install the ORK using binary (sudo apt install ros-kinetic-object-recognition-*) succesfully.

But, it is not include tabletop and has error while running tod.

[Error message]

Mesh and object is founded on CouchDB. I am check it.

byeongkyu@byeongkyu-iMac:~$ rosrun object_recognition_core training -c `rospack find object_recognition_tod`/conf/training.ork
Training 1 objects.
computing object_id: 96562faf31b4165800bb3f68d5006aeb
byeongkyu@byeongkyu-iMac:~$ 
byeongkyu@byeongkyu-iMac:~$ rosrun object_recognition_core detection -c `rospack find object_recognition_tod`/conf/detection.ros.ork
[ INFO] [1472790930.085746566]: Initialized ROS. node_name: /object_recognition_server
[ INFO] [1472790930.458528179]: System already initialized. node_name: /object_recognition_server
[ INFO] [1472790930.863419206]: System already initialized. node_name: /object_recognition_server
[ INFO] [1472790930.871813965]: Subscribed to topic:/camera/depth/camera_info [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472790930.876186903]: Subscribed to topic:/camera/depth/image_raw [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472790930.881230116]: Subscribed to topic:/camera/rgb/camera_info [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472790930.885333776]: Subscribed to topic:/camera/rgb/image_raw [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472790931.620373761]: publishing to topic:/recognized_object_array
Loading models. This may take some time...
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/object_recognition_core/detection", line 24, in <module>
    run_plasm(args, plasm)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/ecto/opts.py", line 85, in run_plasm
    sched.execute(options.niter)
ecto.CellException:            exception_type  CellException
[cell_name] = pipeline1

[cell_type] = ecto::py::BlackBox

[function_name] = process_with_only_these_inputs

[type] = std::runtime_error

[what] =            exception_type  CellException
[cell_name] = Matcher

[function_name] = process_with_only_these_inputs

[type] = std::runtime_error

[what] = Object Not Found : http://localhost:5984/object_recognition/占쏙옙e

[when] = While triggering param change callbacks




terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument
Aborted (core dumped)

And. I am tried also install using rosinstall. reference [http://wg-perception.github.io/object_recognition_core/install.html#install]

But, it is failed to running tabletop, tod.

[Error Message]

byeongkyu@byeongkyu-iMac:~$ rosrun object_recognition_core detection -c `rospack find object_recognition_tabletop`/conf/detection.object.ros.ork
[ INFO] [1472793255.037448839]: Initialized ROS. node_name: /object_recognition_server
[ INFO] [1472793255.416741080]: System already initialized. node_name: /object_recognition_server
[ INFO] [1472793255.777974609]: System already initialized. node_name: /object_recognition_server
[ INFO] [1472793255.792620349]: Subscribed to topic:/camera/depth_registered/camera_info [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472793255.796001824]: Subscribed to topic:/camera/rgb/camera_info [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472793255.799017281]: Subscribed to topic:/camera/depth_registered/image_raw [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1472793255.802311035]: Subscribed to topic:/camera/rgb/image_rect_color [queue_size: 1][tcp_nodelay: 0]
133 :: 0.5 , 1 , 0.995004 , /base_link , /head_mount_kinect_rgb_optical_frame
[ INFO] [1472793256.744593721]: publishing to topic:/tabletop/clusters
[ INFO] [1472793256.745550347]: publishing to topic:/table_array
Traceback (most recent call last):
  File "/home/byeongkyu/catkin_ws/src/ork/ork_core/apps/detection", line 24, in <module>
    run_plasm(args, plasm)
  File "/home/byeongkyu/catkin_ws/src/ork/ecto/python/ecto/opts.py", line 85, in run_plasm
    sched.execute(options.niter)
ecto.CellException:            exception_type  CellException
[cell_name] = pipeline2

[cell_type] = ecto::py::BlackBox

[function_name] = process_with_only_these_inputs

[type] = std::runtime_error

[what] =            exception_type  CellException
[cell_name] = <class 'object_recognition_tabletop.ecto_cells.tabletop_object.objectrecognizer'="">

[function_name] = process_with_only_these_inputs

[type] = std::runtime_error

[what] = value type is 0 not 2

[when] = While triggering param change callbacks ...
(more)
edit retag flag offensive close merge delete

Comments

Same problem for me after migrating to Kinetic. Tabletop worked fine on indigo. A bit of debugging points to ModelReaderBase class; maybe the way couchDB stores objects has changed? You can try to ask also on ORK Google Group

jorge gravatar image jorge  ( 2016-10-05 15:54:27 -0600 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2017-02-08 14:39:45 -0600

jorge gravatar image

This issue has been fixed: https://github.com/wg-perception/obje...

edit flag offensive delete link more
0

answered 2017-10-30 04:37:27 -0600

hanih gravatar image

well, you should check your CMakeLists.txt.

in my case, i add it

include_directories( ${Boost_INCLUDE_DIR} )

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-09-02 00:15:41 -0600

Seen: 939 times

Last updated: Oct 30 '17