Closed teiszler closed 18 hours ago
@achanana @jaharkes I factored things out of ZeroMQServer and WebsocketsServer into a GabrielServer in 2c85a3d. It still needs to be tested however.
@teiszler @jaharkes I have tested the code with SteelEagle using a simulated drone and it seems to be working okay for both WebSockets and ZeroMQ. I will request @T0ny8576 to try running OpenRTiST using the new Gabriel code to ensure backwards compatibility.
The Gabriel client currently uses WebSockets to communicate with the server. That means that currently we do not have support for attempting re-connection when disconnected temporarily. Switching to ZeroMQ allows us to attempt re-connection, and will also make it so that our entire stack uses ZeroMQ—ZeroMQ is currently used to communicate between the cognitive engines and the Gabriel server.