Laixer / Pixelbot

0 stars 0 forks source link

Latency (TCP) too high #16

Closed daan-laixer closed 1 month ago

daan-laixer commented 2 months ago

Currently the probe message has a latency of around 50ms.

Observed that the latency lowers when also sending other messages: 14ms

The process or physics_process loop is used to receive the msg which has a delay of around ~16ms (60fps)

Options replacing _process:

daan-laixer commented 2 months ago

When sending EngineStatus messages every 10ms latency increases continuously

daan-laixer commented 1 month ago

Fixed by using a receive thread in gdscript, not using an extension