Ported PCL 1.11 deprecated changes to PCL 1.10 (#550)

This commit is contained in:
matlabbe
2020-05-27 17:45:16 -04:00
parent 8842d0c0e3
commit bf39c5295b
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ CameraOpenni::~CameraOpenni()
#endif
}
#ifdef RTABMAP_OPENNI
#if PCL_VERSION_COMPARE(>=, 1, 11, 0)
#if PCL_VERSION_COMPARE(>=, 1, 10, 0)
void CameraOpenni::image_cb (
const std::shared_ptr<openni_wrapper::Image>& rgb,
const std::shared_ptr<openni_wrapper::DepthImage>& depth,
@@ -130,7 +130,7 @@ bool CameraOpenni::init(const std::string & calibrationFolder, const std::string
interface_ = new pcl::OpenNIGrabber(deviceId_);
}
#if PCL_VERSION_COMPARE(>=, 1, 11, 0)
#if PCL_VERSION_COMPARE(>=, 1, 10, 0)
std::function<void (
const std::shared_ptr<openni_wrapper::Image>&,
const std::shared_ptr<openni_wrapper::DepthImage>&,