ccny_rgbd compilation error
Hi,
I am currently using ros Groovy. I would like to test the ccny_rgbd package.
I downloaded the stack ccny_rgbd_tools from the git repository. Then I followed the instructions of the README file to compile the stack.
But when I compile (using 'rosmake ccny_rgbd_tools') I get this error :
/home/caroline/catkin_ws/src/ccny_rgbd_tools/lib_rgbdtools/rgbdtools_git/src/rgbd_frame.cpp: In member function ‘void rgbdtools::RGBDFrame::constructFeaturePointCloud(rgbdtools::PointCloudFeature&)’:
/home/caroline/catkin_ws/src/ccny_rgbd_tools/lib_rgbdtools/rgbdtools_git/src/rgbd_frame.cpp:276:69: erreur: no match for ‘operator=’ in ‘cloud.pcl::PointCloud<pcl::PointXYZ>::header.std_msgs::Header_<std::allocator<void> >::stamp = (((double)((rgbdtools::RGBDFrame*)this)->rgbdtools::RGBDFrame::header.rgbdtools::Header::stamp.rgbdtools::Time::sec * 1.0e+6) + ((double)((rgbdtools::RGBDFrame*)this)->rgbdtools::RGBDFrame::header.rgbdtools::Header::stamp.rgbdtools::Time::nsec * 1.00000000000000002081668171172168513294309377670288085938e-3))’
/home/caroline/catkin_ws/src/ccny_rgbd_tools/lib_rgbdtools/rgbdtools_git/src/rgbd_frame.cpp:276:69: note: candidate is:
/opt/ros/groovy/include/ros/time.h:169:22: note: ros::Time& ros::Time::operator=(const ros::Time&)
/opt/ros/groovy/include/ros/time.h:169:22: note: no known conversion for argument 1 from ‘double’ to ‘const ros::Time&’
/home/caroline/catkin_ws/src/ccny_rgbd_tools/lib_rgbdtools/rgbdtools_git/src/rgbd_frame.cpp: In member function ‘void rgbdtools::RGBDFrame::constructDensePointCloud(rgbdtools::PointCloudT&, double, double) const’:
/home/caroline/catkin_ws/src/ccny_rgbd_tools/lib_rgbdtools/rgbdtools_git/src/rgbd_frame.cpp:348:69: erreur: no match for ‘operator=’ in ‘cloud.pcl::PointCloud<pcl::PointXYZRGB>::header.std_msgs::Header_<std::allocator<void> >::stamp = (((double)((const rgbdtools::RGBDFrame*)this)->rgbdtools::RGBDFrame::header.rgbdtools::Header::stamp.rgbdtools::Time::sec * 1.0e+6) + ((double)((const rgbdtools::RGBDFrame*)this)->rgbdtools::RGBDFrame::header.rgbdtools::Header::stamp.rgbdtools::Time::nsec * 1.00000000000000002081668171172168513294309377670288085938e-3))’
/home/caroline/catkin_ws/src/ccny_rgbd_tools/lib_rgbdtools/rgbdtools_git/src/rgbd_frame.cpp:348:69: note: candidate is:
/opt/ros/groovy/include/ros/time.h:169:22: note: ros::Time& ros::Time::operator=(const ros::Time&)
/opt/ros/groovy/include/ros/time.h:169:22: note: no known conversion for argument 1 from ‘double’ to ‘const ros::Time&’
I already tried this package a long time ago on another computer with Ubuntu and ros Groovy and didn't have any problem.
Does someone know why I have this error ?
Thanks
Caroline
Hi @CarolineQ, have you ever install this package on hydro? I encounter some difficulties as stated here. http://answers.ros.org/question/145411/error-on-installing-ccny-package-on-hydro/