capture rgb, point clouds and save each frame in a file.