{"action":"opened","issue":{"url":"https://api.github.com/repos/wg-perception/capture/issues/21","labels_url":"https://api.github.com/repos/wg-perception/capture/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/wg-perception/capture/issues/21/comments","events_url":"https://api.github.com/repos/wg-perception/capture/issues/21/events","html_url":"https://github.com/wg-perception/capture/issues/21","id":116810141,"number":21,"title":"ecto.TypeMismatch when running `object_recognition_capture capture`","user":{"login":"severin-lemaignan","id":385379,"avatar_url":"https://avatars.githubusercontent.com/u/385379?v=3","gravatar_id":"","url":"https://api.github.com/users/severin-lemaignan","html_url":"https://github.com/severin-lemaignan","followers_url":"https://api.github.com/users/severin-lemaignan/followers","following_url":"https://api.github.com/users/severin-lemaignan/following{/other_user}","gists_url":"https://api.github.com/users/severin-lemaignan/gists{/gist_id}","starred_url":"https://api.github.com/users/severin-lemaignan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/severin-lemaignan/subscriptions","organizations_url":"https://api.github.com/users/severin-lemaignan/orgs","repos_url":"https://api.github.com/users/severin-lemaignan/repos","events_url":"https://api.github.com/users/severin-lemaignan/events{/privacy}","received_events_url":"https://api.github.com/users/severin-lemaignan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T17:13:28Z","updated_at":"2015-11-13T17:13:28Z","closed_at":null,"body":"While trying to follow the [ORK tutorial](http://wg-perception.github.io/object_recognition_core/quickguide.html), I hit a crash:\r\n\r\n```\r\n$ rosrun object_recognition_capture capture --seg_z_min 0.01 -o my_mug.bag\r\nTraceback (most recent call last):\r\n  File \"/opt/ros/jade/lib/object_recognition_capture/capture\", line 72, in <module>\r\n    fps=options.fps\r\n  File \"/opt/ros/jade/lib/python2.7/dist-packages/object_recognition_capture/openni_capture.py\", line 207, in create_capture_plasm\r\n    plasm.connect(graph)\r\necto.TypeMismatch:            exception_type  TypeMismatch\r\n[to_key] = image\r\n\r\n[to_cell] = Bag Writer if R|T\r\n\r\n[from_key] = image\r\n\r\n[from_cell] = ecto_ros::Mat2Image\r\n\r\n[to_typename] = boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const>\r\n\r\n[from_typename] = boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > >\r\n```\r\n\r\nNote that the same capture in **preview** mode, works well. ie,\r\n```\r\n$ rosrun object_recognition_capture capture --seg_z_min 0.01 -o my_mug.bag --preview\r\n```\r\nworks as expected.\r\n\r\nFound on Ubuntu 15.10, fresh ROS, manually compiled."}}