fixed bug added sleep to temp logging to wait for camera to be ready