Once we have initialized the CARLA simulator by sending the CARLA settings object to the CARLA server and calling client.start_episode(start_spot), the driving simulation will begin. We can then use the client.read_data() method to get the data produced by the simulation at a given step. We can do this using the following line of code:
measurements, sensor_data = client.read_data()