{"action":"opened","issue":{"url":"https://api.github.com/repos/intel/ros_opencl_caffe/issues/6","repository_url":"https://api.github.com/repos/intel/ros_opencl_caffe","labels_url":"https://api.github.com/repos/intel/ros_opencl_caffe/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/intel/ros_opencl_caffe/issues/6/comments","events_url":"https://api.github.com/repos/intel/ros_opencl_caffe/issues/6/events","html_url":"https://github.com/intel/ros_opencl_caffe/issues/6","id":309529684,"number":6,"title":"No member object vector & No member image","user":{"login":"fiorano10","id":10829017,"avatar_url":"https://avatars3.githubusercontent.com/u/10829017?v=4","gravatar_id":"","url":"https://api.github.com/users/fiorano10","html_url":"https://github.com/fiorano10","followers_url":"https://api.github.com/users/fiorano10/followers","following_url":"https://api.github.com/users/fiorano10/following{/other_user}","gists_url":"https://api.github.com/users/fiorano10/gists{/gist_id}","starred_url":"https://api.github.com/users/fiorano10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiorano10/subscriptions","organizations_url":"https://api.github.com/users/fiorano10/orgs","repos_url":"https://api.github.com/users/fiorano10/repos","events_url":"https://api.github.com/users/fiorano10/events{/privacy}","received_events_url":"https://api.github.com/users/fiorano10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T20:59:44Z","updated_at":"2018-03-28T20:59:44Z","closed_at":null,"author_association":"NONE","body":"When I do catkin_make for ros_opencl_caffe & object_msgs, I get this error:\r\n\r\n`/home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/tests/unittest_srv.cpp: In member function ‘virtual void UnitTestSrv_testSrv_Test::TestBody()’:\r\n/home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/tests/unittest_srv.cpp:65:49: error: ‘object_msgs::DetectObject::Request {aka struct object_msgs::DetectObjectRequest_<std::allocator<void> >}’ has no member named ‘image’\r\n   convertFrameToMessage(&image, 0, &inf.request.image);\r\n                                                 ^\r\nIn file included from /usr/include/gtest/gtest.h:1929:0,\r\n                 from /home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/tests/unittest_srv.cpp:21:\r\n/home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/tests/unittest_srv.cpp:68:34: error: ‘object_msgs::DetectObjectResponse_<std::allocator<void> >::_objects_type {aka class std::vector<object_msgs::ObjectsInBoxes_<std::allocator<void> >, std::allocator<object_msgs::ObjectsInBoxes_<std::allocator<void> > > >}’ has no member named ‘objects_vector’\r\n   ASSERT_GE(inf.response.objects.objects_vector.size(), 1);\r\n                                  ^\r\nScanning dependencies of target opencl_caffe_viewer\r\n[ 64%] Building CXX object ros_opencl_caffe/opencl_caffe/CMakeFiles/opencl_caffe_nodelet.dir/src/nodelet.cpp.o\r\n[ 65%] Building CXX object ros_opencl_caffe/opencl_caffe/CMakeFiles/opencl_caffe_srv.dir/src/srv.cpp.o\r\n[ 65%] Building CXX object ros_opencl_caffe/opencl_caffe_viewer/CMakeFiles/opencl_caffe_viewer.dir/src/opencl_caffe_viewer.cpp.o\r\nros_opencl_caffe/opencl_caffe/CMakeFiles/unittest_srv.dir/build.make:62: recipe for target 'ros_opencl_caffe/opencl_caffe/CMakeFiles/unittest_srv.dir/tests/unittest_srv.cpp.o' failed\r\nmake[2]: *** [ros_opencl_caffe/opencl_caffe/CMakeFiles/unittest_srv.dir/tests/unittest_srv.cpp.o] Error 1\r\nCMakeFiles/Makefile2:5107: recipe for target 'ros_opencl_caffe/opencl_caffe/CMakeFiles/unittest_srv.dir/all' failed\r\nmake[1]: *** [ros_opencl_caffe/opencl_caffe/CMakeFiles/unittest_srv.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\n[ 65%] Building CXX object ros_opencl_caffe/opencl_caffe/CMakeFiles/opencl_caffe_srv.dir/src/detector_gpu.cpp.o\r\n/home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/src/srv.cpp: In member function ‘bool opencl_caffe::Srv::handleService(object_msgs::DetectObject::Request&, object_msgs::DetectObject::Response&)’:\r\n/home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/src/srv.cpp:46:76: error: ‘object_msgs::DetectObject::Request {aka struct object_msgs::DetectObjectRequest_<std::allocator<void> >}’ has no member named ‘image’\r\n   sensor_msgs::ImagePtr image = boost::make_shared<sensor_msgs::Image>(req.image);\r\n                                                                            ^\r\n/home/agr/catkin_practice_ws/src/ros_opencl_caffe/opencl_caffe/src/srv.cpp:47:51: error: no matching function for call to ‘opencl_caffe::Detector::runInference(sensor_msgs::ImagePtr&, object_msgs::DetectObjectResponse_<std::allocator<void> >::_objects_type&)’\r\n   if (!detector_->runInference(image, resp.objects))`"}}
{"actor":{"display_login":"fiorano10"}}