Depth buffer is corrupt

Hi,

I’m using ROSBot 2.0 and subscribing rgb(/camera/rgb/image_rect_color/compressed) and depth(/camera/depth/image_raw) topics. After few runs, the robot gets warning messages like below and can’t receive any messages anymore,
128561502 WARNING Depth frame is corrupt!
128562038 WARNING Read: Depth buffer is corrupt. Size is 596416 (!= 614400)
128607060 WARNING Depth: Expected 209, got 277
128607127 WARNING Depth frame is corrupt!
128607167 WARNING Read: Depth buffer is corrupt. Size is 120160 (!= 614400)
128641146 WARNING Depth: Expected 2ca, got 318
128641420 WARNING Depth frame is corrupt!
128641474 WARNING Depth: Expected 31a, got 312
128641930 WARNING Read: Depth buffer is corrupt. Size is 360512 (!= 614400)
128744764 WARNING Depth: Expected 435, got 46f
128744842 WARNING Depth frame is corrupt!
128744878 WARNING Depth: Expected 470, got 468
128745115 WARNING Read: Depth buffer is corrupt. Size is 120160 (!= 614400)
128790743 WARNING Depth: Expected 52b, got 549
128790822 WARNING Depth frame is corrupt!
128792236 WARNING Read: Depth buffer is corrupt. Size is 596416 (!= 614400)
128846565 WARNING Depth: Expected 5d6, got 61c

Is there anyway I can solve this issue?

Hi 0312jkr

Could you please provide more information on how to replicate this error (what package/node are you using)?

Another question is what device are you subscribing to those messages on? If on ROSbot then it won’t work since its computer is not powerful enough to render point clound from RGBD camera. If that is the case I would suggest connecting to a PC (for example using Husarnet) and running a subscriber there.

Best regards
Stanisław

Also a similar question has already been asked here, maybe it will help with your issue as well.