{ "source_topic_suffix": "aligned_depth_to_color/image_raw/compressedDepth", "source_format": "16UC1; compressedDepth", "units": "millimeters", "packing": "R=depth_mm>>8, G=depth_mm&0xFF, B=0", "decode": "depth_mm = (rgb[...,0].astype('uint16') << 8) | rgb[...,1]", "decode_from_lerobot": "LeRobotDataset returns these keys as float32 CHW in [0,1]; recover the bytes with rgb = (t.permute(1,2,0).numpy()*255).round().astype('uint8') before unpacking. See depth_from_lerobot_frame() in convert_aibot2_rosbags_depth.py.", "invalid_value": 0, "max_representable_mm": 65535, "storage_dtype": "image", "storage_note": "Stored as lossless PNG. Do NOT re-encode these keys as video: lossy compression destroys the byte packing.", "resize_interpolation": "nearest", "keys": [ "observation.images.camera_front_depth", "observation.images.camera_top_depth" ] }