Tutorial: Learning to Drive

It looks like
shared_memory_recv_experience_multiprocess is getting hung up here waiting for these controls:

    for controls in processes_controls:
        while not controls[UE_SHARED_MEMORY_EXPERIENCE_SIGNAL]:
        
            if controls[UE_SHARED_MEMORY_STOP_SIGNAL]:
                controls[UE_SHARED_MEMORY_STOP_SIGNAL] = 0
                return UE_RESPONSE_STOPPED, None, None
            print("Sleeping")
            time.sleep(0.001)
    
    print("Moving On")

I see it print sleeping until the process stops, and it never moves on. Any idea why the controls don’t have the shared memory experience signal to move on?

1 Like