Ownership transfer of object attributes can break latency compensation because the data flow between sim-data and lag-comp data will be broken.
This example will illustrate the issue.
- Federate-1 is configured to publish and subscribe all attributes of an object names Test.
- Federate-1 is configured to create the Test object instance (i.e. owns the privilege to delete).
- Federate-1 is configured to do send-side lag-compensation. It is wired to compensate sim-data and the output is the lag-comp data state.
- When ownership of the Test attributes are transferred to another federate, Federate-1 will now be receiving Test data reflections.
- Because Federate-1 was configured for send-side lag-compensation the receive-side lag-compensation API is not called, resulting in the reflected Test data received on the lag-comp data variables not being transferred to the sim-data. The return data flow is broken.
Need an API to detect the ownership transfer and bypass lag-compensation so that data still goes in or out of the federate.
The ability to bypass lag-compensation should also allow a user to disable lag-compensation at runtime without having to change the simulation or the input file configuration for the object attributes.
Ownership transfer of object attributes can break latency compensation because the data flow between sim-data and lag-comp data will be broken.
This example will illustrate the issue.
Need an API to detect the ownership transfer and bypass lag-compensation so that data still goes in or out of the federate.
The ability to bypass lag-compensation should also allow a user to disable lag-compensation at runtime without having to change the simulation or the input file configuration for the object attributes.