Condition (scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height) not met!

Posted by Mikor on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Condition-scan3dMsg-data-size-scan3dMsg-row-step-scan3dMsg-height-not-met-tp7852.html

Hello Mathieu,

I have a strange issue playing a bag file. As the bag plays i get the following error:

[FATAL] (2021-05-01 17:02:36.601) MsgConversion.cpp:2198::convertScan3dMsg() Condition (scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height) not met! [data=314314 row_step=0 height=1]
terminate called after throwing an instance of 'UException'
  what():  [FATAL] (2021-05-01 17:02:36.601) MsgConversion.cpp:2198::convertScan3dMsg() Condition (scan3dMsg.data.size() == scan3dMsg.row_step*scan3dMsg.height) not met! [data=314314 row_step=0 height=1]

The thing is that I didn't have this problem before with this bag file, any ideas ? Please help, I can not find any relevant info!

Thanks in advance.