Coder Social home page Coder Social logo

Large Latency in Images about zethus HOT 5 CLOSED

WesleyYue avatar WesleyYue commented on September 23, 2024
Large Latency in Images

from zethus.

Comments (5)

seadeep42 avatar seadeep42 commented on September 23, 2024

Hi,
Zethus visualizes the topic messages received through rosbridge websocket but web_video_server serves raw video packets to the client over http. The delay might be at roslibjs.

We'll look into it and come up with a solution by tomorrow. Would it be possible to provide more information - the dimensions of image and the frequency it's published at.

Thank you

from zethus.

WesleyYue avatar WesleyYue commented on September 23, 2024

We're publishing 720p images using cv_camera at 30hz

from zethus.

tocttou avatar tocttou commented on September 23, 2024

@WesleyYue I tried to use cv_camera with my webcam:

rosparam set cv_camera/device_id 0
rosrun cv_camera cv_camera_node]

This seems to be working fine without any latency! (although I did not try publishing from the docker env).

Demo: https://i.imgur.com/qrNG1XG.mp4

Couple of questions:

  1. is there a latency only or some lag as well (also what is the FPS shown in Zethus)?
  2. would it be possible to reproduce the environment somehow?

from zethus.

tocttou avatar tocttou commented on September 23, 2024

@WesleyYue we are adding an option to display the image stream directly from web_video_server as an option. Should be available tomorrow.

from zethus.

tocttou avatar tocttou commented on September 23, 2024

@WesleyYue you can use ImageStream visualization type instead of Image in latest Zethus.
ImageStream takes a stream URL from the web_video_server.

I did find some lag when the video is kept running using the Image viz, and it seems that it can be attributed to the slow link between Zethus and the rosbridge server.

from zethus.

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.