fix: correctly receive all chunks in recorder
This commit is contained in:
		| @@ -63,7 +63,7 @@ class Snapshot: | ||||
|         (nbr_raycasts,), data = iter_unpack(">B", data) | ||||
|         raycast_distances, data = iter_unpack(f">{nbr_raycasts}f", data) | ||||
|  | ||||
|         (h, w), data = iter_unpack(">ii", data) | ||||
|         (h, w), data = iter_unpack(">II", data) | ||||
|  | ||||
|         if h * w > 0: | ||||
|             image = np.frombuffer(data, np.uint8).reshape(h, w, 3) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user