Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latency #6

Open
packwidth opened this issue Dec 9, 2022 · 1 comment
Open

Latency #6

packwidth opened this issue Dec 9, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@packwidth
Copy link

Assuming ideal network conditions, what sort of latency is there between a UDP message hitting the network and the points being drawn on the screen?

@unitycoder
Copy link
Owner

bit hard to say (and i don't have device to test).
connection uses lan cable, wireless loses too many packets.

parsing/drawing itself takes very little time,
But there are network buffers and queue for drawing frames (these values can be adjusted on the viewer, but too small values caused some drawing issues or missing frames if i recall correctly)

  • message arriving from device to listener port: (unknown)
  • parsing 1 frame received udp data: ~0ms (<90 ticks)
  • drawing 1 frame: ~0ms (<2000 ticks)
  • depends heavily on the cpu & gpu of course, and on the lidar model too (point count varies)
  • tested on editor

(asset store offers easy refunds, so my suggestion is to test it with real device if you can)

@unitycoder unitycoder added the documentation Improvements or additions to documentation label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants