PointCloudLibrary/pcl
Voir sur GitHubopenni_wrapper::DeviceXtionPro::getCurrentImage returns null pointer?
Open
#681 ouverte le 19 mai 2014
effort: trivialgood first issuekind: todomodule: io
Métriques du dépôt
- Stars
- (9 023 stars)
- Métriques de merge PR
- (Merge moyen 8j 7h) (3 PRs mergées en 30 j)
Description
Not sure if this is necessarily wrong, but why do we have
boost::shared_ptr<openni_wrapper::Image>
openni_wrapper::DeviceXtionPro::getCurrentImage (boost::shared_ptr<xn::ImageMetaData>) const throw ()
{
return (boost::shared_ptr<Image> (reinterpret_cast<Image*> (0)));
}
when for the other devices we return an actual image:
boost::shared_ptr<openni_wrapper::Image>
openni_wrapper::DevicePrimesense::getCurrentImage (boost::shared_ptr<xn::ImageMetaData> image_data) const throw ()
{
return (boost::shared_ptr<openni_wrapper::Image> (new ImageYUV422 (image_data)));
}