... | ... | @@ -69,22 +69,22 @@ Notice that there is one instance of *NomadPositions* for each Nomad server (one |
|
|
#### Current connection with the Nomad server instances
|
|
|
|
|
|
Currently, the Nomad 3D Server is configured with one Nomad endpoint (in config.json).
|
|
|
The Nomad Position addon maintains a list of Nomad3DPositions (small application that forwards the positions) instances managed by Cameo.
|
|
|
The Nomad Position addon maintains a list of *NomadPositions* (small application that forwards the positions) instances managed by Cameo.
|
|
|
There is one instance per Nomad server instance (one real and many simulated).
|
|
|
|
|
|
**Refresh**:
|
|
|
The user can push the refresh button.
|
|
|
Then the client is sending the GetSimulatedServerIds request and the server retrieves the list of Nomad running instances on the endpoint.
|
|
|
Then the client is sending the *GetSimulatedServerIds* request and the server retrieves the list of Nomad running instances on the endpoint.
|
|
|
The addon also cleans the Cameo instance and requester of those which died.
|
|
|
Some new simulated (nssim) instances can appear.
|
|
|
|
|
|
**Select**:
|
|
|
A user can select a server (real or simulated).
|
|
|
Then the client is sending the ResetNomadPosition request with the Nomad id (id of the Nomad Cameo instance), then the addon initializes the connection to the Nomad instance if it is alive.
|
|
|
Then the client is sending the *ResetNomadPosition* request with the Nomad id (id of the Nomad Cameo instance), then the addon initializes the connection to the Nomad instance if it is alive.
|
|
|
|
|
|
**Update the positions**:
|
|
|
On the client, a loop is constantly updating the positions.
|
|
|
At each iteration, the client is sending the GetPositionsRequest request with the Nomad id, then the addon contacts the associated requester to the Nomad3DPositions instance.
|
|
|
At each iteration, the client is sending the *GetPositionsRequest* request with the Nomad id, then the addon contacts the associated requester to the *NomadPositions* instance.
|
|
|
|
|
|
|
|
|
## Environment map
|
... | ... | |