Giter Club home page Giter Club logo

Comments (3)

mjxu96 avatar mjxu96 commented on June 30, 2024 3

@Basavaraj-PN Hi, I just updated the repo and pushed a latest docker image to solve this problem. Please check mjxu96/carlaviz:latest image to see if that solves this problem from your end. Thanks!

from carlaviz.

mjxu96 avatar mjxu96 commented on June 30, 2024

Hi, there are three main reasons that cause this latency:

  1. Frontend: browser's single-threaded execution makes the performance improvements trickier. It can only use one core to do all stuffs like parsing data and rendering the images.
  2. Backend: the backend needs to receive the data from Carla server, transform the data and then sends to the frontend.
  3. Data transmission: the data is transmitted in this way: Carla server -> CarlaViz backend -> CarlaViz frontend. All these transmissions will introduce latency even in the loopback network (data copy etc...).

I have tried my best to optimize the backend but the other two parts are not in the scope of this application. I would suggest not trusting CarlaViz's camera images in latency-sensitive scenarios and only use them as indicators or visualizers in intensive simulation tasks.

from carlaviz.

xczhanjun avatar xczhanjun commented on June 30, 2024

great

from carlaviz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.