Re: pull keyframe Images

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/pull-keyframe-Images-tp7800p7885.html

Hi,

Do all images are null? you can add a check like this:
if(!srv.response.data.nodes[i].image.empty())
   // convert image
else
   ROS_WARN("Node %d doesn't have image set", i);

Afterwards, if some are null, it may be because of some parameters on the rtabmap side that make it not keep some images.