{"action":"closed","issue":{"url":"https://api.github.com/repos/jizhang-cmu/demo_rgbd/issues/19","labels_url":"https://api.github.com/repos/jizhang-cmu/demo_rgbd/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jizhang-cmu/demo_rgbd/issues/19/comments","events_url":"https://api.github.com/repos/jizhang-cmu/demo_rgbd/issues/19/events","html_url":"https://github.com/jizhang-cmu/demo_rgbd/issues/19","id":42271747,"number":19,"title":"demo_rgbd hydro version","user":{"login":"LiliMeng","id":2125680,"avatar_url":"https://avatars.githubusercontent.com/u/2125680?v=3","gravatar_id":"","url":"https://api.github.com/users/LiliMeng","html_url":"https://github.com/LiliMeng","followers_url":"https://api.github.com/users/LiliMeng/followers","following_url":"https://api.github.com/users/LiliMeng/following{/other_user}","gists_url":"https://api.github.com/users/LiliMeng/gists{/gist_id}","starred_url":"https://api.github.com/users/LiliMeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiliMeng/subscriptions","organizations_url":"https://api.github.com/users/LiliMeng/orgs","repos_url":"https://api.github.com/users/LiliMeng/repos","events_url":"https://api.github.com/users/LiliMeng/events{/privacy}","received_events_url":"https://api.github.com/users/LiliMeng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-09T05:22:17Z","updated_at":"2015-02-19T02:47:21Z","closed_at":"2015-02-19T02:47:21Z","body":"Hi Ji, \r\n\r\n        Thank you for contributing the open source code. Currently the groovy version works good. While the hydro version has the following errors after $rosmake: (I think your hydro version is still rosbuild rather than catkin_make version).\r\n\r\n/usr/include/pcl-1.7/pcl/ros/conversions.h:98:3: note: template<class PointT> void pcl::toROSMsg(const pcl::PointCloud<PointT>&, pcl::PCLPointCloud2&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:113:3: note: template<class CloudT> void pcl::toROSMsg(const CloudT&, pcl::PCLImage&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:127:3: note: void pcl::toROSMsg(const pcl::PCLPointCloud2&, pcl::PCLImage&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:127:3: note:   no known conversion for argument 1 from ‘pcl::PointCloud<ImagePoint>’ to ‘const pcl::PCLPointCloud2&’\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/processDepthmap.cpp: In function ‘void voDataHandler(const ConstPtr&)’:\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/processDepthmap.cpp:204:43: error: no matching function for call to ‘toROSMsg(pcl::PointCloud<pcl::PointXYZI>&, sensor_msgs::PointCloud2&)’\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/processDepthmap.cpp:204:43: note: candidates are:\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:98:3: note: template<class PointT> void pcl::toROSMsg(const pcl::PointCloud<PointT>&, pcl::PCLPointCloud2&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:113:3: note: template<class CloudT> void pcl::toROSMsg(const CloudT&, pcl::PCLImage&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:127:3: note: void pcl::toROSMsg(const pcl::PCLPointCloud2&, pcl::PCLImage&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:127:3: note:   no known conversion for argument 1 from ‘pcl::PointCloud<pcl::PointXYZI>’ to ‘const pcl::PCLPointCloud2&’\r\n  make[3]: *** [CMakeFiles/featureTracking.dir/src/featureTracking.cpp.o] Error 1\r\n  make[3]: Leaving directory `/home/lili/hydro_workspace/sandbox/demo_rgbd/build'\r\n  make[2]: *** [CMakeFiles/featureTracking.dir/all] Error 2\r\n  make[2]: *** Waiting for unfinished jobs....\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/registerPointCloud.cpp: In function ‘void voDataHandler(const ConstPtr&)’:\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/registerPointCloud.cpp:146:49: error: no matching function for call to ‘toROSMsg(pcl::PointCloud<pcl::PointXYZ>&, sensor_msgs::PointCloud2&)’\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/registerPointCloud.cpp:146:49: note: candidates are:\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:98:3: note: template<class PointT> void pcl::toROSMsg(const pcl::PointCloud<PointT>&, pcl::PCLPointCloud2&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:113:3: note: template<class CloudT> void pcl::toROSMsg(const CloudT&, pcl::PCLImage&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:127:3: note: void pcl::toROSMsg(const pcl::PCLPointCloud2&, pcl::PCLImage&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:127:3: note:   no known conversion for argument 1 from ‘pcl::PointCloud<pcl::PointXYZ>’ to ‘const pcl::PCLPointCloud2&’\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/bundleAdjust.cpp: In function ‘void depthPointsHandler(const PointCloud2ConstPtr&)’:\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/bundleAdjust.cpp:155:53: error: no matching function for call to ‘fromROSMsg(const sensor_msgs::PointCloud2_<std::allocator<void> >&, pcl::PointCloud<DepthPoint>&)’\r\n  /home/lili/hydro_workspace/sandbox/demo_rgbd/src/bundleAdjust.cpp:155:53: note: candidates are:\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:71:3: note: template<class PointT> void pcl::fromROSMsg(const pcl::PCLPointCloud2&, pcl::PointCloud<PointT>&, const MsgFieldMap&)\r\n  /usr/include/pcl-1.7/pcl/ros/conversions.h:85:3: note: template<class PointT> void pcl::fromROSMsg(const pcl::PCLPointCloud2&, pcl::PointCloud<PointT>&)\r\n  make[3]: *** [CMakeFiles/processDepthmap.dir/src/processDepthmap.cpp.o] Error 1\r\n  make[3]: Leaving directory `/home/lili/hydro_workspace/sandbox/demo_rgbd/build'\r\n  make[2]: *** [CMakeFiles/processDepthmap.dir/all] Error 2\r\n  make[3]: *** [CMakeFiles/registerPointCloud.dir/src/registerPointCloud.cpp.o] Error 1\r\n  make[3]: Leaving directory `/home/lili/hydro_workspace/sandbox/demo_rgbd/build'\r\n  make[2]: *** [CMakeFiles/registerPointCloud.dir/all] Error 2\r\n  make[3]: *** [CMakeFiles/bundleAdjust.dir/src/bundleAdjust.cpp.o] Error 1\r\n  make[3]: Leaving directory `/home/lili/hydro_workspace/sandbox/demo_rgbd/build'\r\n  make[2]: *** [CMakeFiles/bundleAdjust.dir/all] Error 2\r\n  make[2]: Leaving directory `/home/lili/hydro_workspace/sandbox/demo_rgbd/build'\r\n  make[1]: *** [all] Error 2\r\n  make[1]: Leaving directory `/home/lili/hydro_workspace/sandbox/demo_rgbd/build'\r\n\r\nCould you provide some suggestions?  \r\n\r\nHighly appreciate your time and help!\r\n\r\nBest,\r\nLili"}}