When added fiducials and selection buffer as raster based and running the following,
Ogre::Entity *entity =
this->selectionBuffer->OnSelectionClick(pt.X(), pt.Y());
ROS_INFO_STREAM(entity);
it does not print anyting, which in raster based one, something like below is seen,
[ INFO] [1645066665.411559100, 7.582000000]: 0x7f0e142da528
[ INFO] [1645066665.412881800, 7.584000000]: 0x7f0e142da528
[ INFO] [1645066665.414231400, 7.586000000]: 0x7f0e142da528
[ INFO] [1645066665.415562000, 7.586000000]: 0x7f0e142da528
[ INFO] [1645066665.416846800, 7.588000000]: 0x7f0e142da528
It seems, the selection buffer does not work with gpu ray sensor. Which is stange since both depth camera and gpu ray sensor inherited same ogre objects.