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

In Godot, make data processing efficient #9

Open
ChernyakKonstantin opened this issue Nov 26, 2023 · 0 comments
Open

In Godot, make data processing efficient #9

ChernyakKonstantin opened this issue Nov 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ChernyakKonstantin
Copy link
Owner

Consider default repeat_action = 4.

My robot uses Lidar sensor with maximum data volume of 1080 points per repeat. In total I have 4320 points. The rest data is small enough to not consider them.

One environment step takes 0.14s, out of which ~0.06s is spent on filling protobuf message (Lidar data only) and 0.05s is spent on serialization of entire protobuf message.

It is required to test, whether the following algorithm is faster:

  1. Make message to contain data per one repeat.
  2. Fill, serialize, and send data in separate threads at each repeat.
  3. In python, accumulate data over repeats to form data per step.

The expected improvement upper bound is that repeat_action times faster than current implementation.

@ChernyakKonstantin ChernyakKonstantin added the enhancement New feature or request label Nov 26, 2023
@ChernyakKonstantin ChernyakKonstantin self-assigned this Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant