Re: Condition (scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height) not met!
Posted by
matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Condition-scan3dMsg-data-size-scan3dMsg-row-step-scan3dMsg-height-not-met-tp7852p7853.html
Hi Mikor,
It looks like your PointCloud2 msg has missing "
row_step". This assert has been
added recently to avoid strange seg faults down the line when converting PointCloud2 (example
here). Depending on the filtering algorithm used, row_step may not be used, so it is why the bag may have worked before without that check. You may filter that bag to fix the row_step. A script similar to
this could be used to modify your PointCloud2 topic.
cheers,
Mathieu