Closed 0mdc closed 1 month ago
This changeset turns rearrange_v2 into a state machine with the following states:
rearrange_v2
lobby
max_client_count
reset
https://github.com/facebookresearch/habitat-lab/assets/110583667/b76e4b5d-5c09-4268-969f-c8e1747ceb0a
main.py
rearrange_v2.py
Depends on:
ClientHelper
RemoteClientState
Tested on multiplayer HITL application.
Motivation and Context
This changeset turns
rearrange_v2
into a state machine with the following states:lobby
.max_client_count
users are connected, changes state torearrange_v2
.rearrange_v2
application.reset
.https://github.com/facebookresearch/habitat-lab/assets/110583667/b76e4b5d-5c09-4268-969f-c8e1747ceb0a
Notes
main.py
instead ofrearrange_v2.py
.rearrange_v2.py
will be renamed later to simplify merging of concurrent changes.Depends on:
Limitations
ClientHelper
depends on connection events, its lifetime is now coupled withRemoteClientState
. This will be refactored in a later pass.rearrange_v2
smoke test is disabled until it is stabilized.How Has This Been Tested
Tested on multiplayer HITL application.
Types of changes
Checklist