facebookresearch / habitat-lab

A modular high-level library to train embodied AI agents across a variety of tasks and environments.
https://aihabitat.org/
MIT License
1.93k stars 481 forks source link

HITL - Add cross-process signal to toggle inflow of new connections. #1953

Closed 0mdc closed 4 months ago

0mdc commented 4 months ago

Motivation and Context

This changeset adds a cross-process signal to allow the main thread to signal whether the networking thread should accept new connections.

In the rearrange_v2 app, connections are only accepted when the application is in the "lobby" state. Note that this state is not yet merged to main.

How Has This Been Tested

Tested on multiplayer HITL app.

Types of changes

Checklist