def save_image(i):
    responses = client.simGetImages([ImageRequest(1, AirSimImageType.Scene)])
    single_image = responses[0].image_data_uint8
    AirSimClientBase.write_file(os.path.normpath((IMAGEDIR + '/image_{}.png'.format(i))), single_image)
def save_image(i):
    responses = client.simGetImages([ImageRequest(1, AirSimImageType.Scene)])
    single_image = responses[0].image_data_uint8
    AirSimClientBase.write_file(os.path.normpath((IMAGEDIR + '/image_{}.png'.format(i))), single_image)