Skip to content

Non Dolphin model with Dolphin IPCs fails to load with new IPC wait changes.

There is a new check in commData3Init() that allows us to remove a NULL ptr check on each IPC send. This now prevents models from loading if they have Dolphin IPCs in them, but are not on the Dolphin network. Old functionality would have been to silently not write any IPCs.

We definitely need a better error message than the one below, for this case. One method would be adding a CDS parameter that would configure the model to not error on broken Dolphin IPCs. That way, we can still move models from productioon to test-stands without having to manually remove or change all Dolphin IPCs.

Failure mode

x2atstim02: ERROR - commData3Init() - IPC index 1, was not matched as a supported type. netType: 1, mode: 1    
x2atstim02: ERROR - commData3Init() - IPC index 2, was not matched as a supported type. netType: 1, mode: 1    
x2atstim02: ERROR - commData3Init() - IPC index 3, was not matched as a supported type. netType: 1, mode: 1

What about the use_shm_ipc parameter?

This appears as though it solves our issue, need to test, and still update the error message on failure.