ros-visualization / rqt_image_view

http://wiki.ros.org/rqt_image_view
26 stars 59 forks source link

display frame-rate and bandwidth #1

Open dirk-thomas opened 7 years ago

dirk-thomas commented 7 years ago

From @Carter12s on July 21, 2014 18:46

It would be very useful for debugging purposes and development to have the Framerate and approximate data throughput of an image stream displayable with the stream in rqt_image_view

_Copied from original issue: ros-visualization/rqt_commonplugins#258

dirk-thomas commented 7 years ago

From @ablasdel on July 21, 2014 19:18

This seems like it would be a useful addition to this plugin. Would you be in a position to provide a pull request to implement the suggested enhancements?

dirk-thomas commented 7 years ago

From @Carter12s on July 21, 2014 19:22

Yes, I will be able to make this addition; I am not super competent in this area of programming, but I can give it shot.

dirk-thomas commented 7 years ago

From @ablasdel on July 21, 2014 19:26

Everything will be reviewed before we put it into the code base so don't worry about messing anything up. We can give you pointers and make suggestions as well. Feel free to ask questions here if you need to.

dirk-thomas commented 7 years ago

From @Carter12s on July 21, 2014 19:30

I would first ask how you would want the information to appear:

  1. As an overlay on the image drawn in the corner
  2. As an Qt object added to the form
  3. Some other method?
dirk-thomas commented 7 years ago

From @trainman419 on July 21, 2014 19:49

The concept of an overlay is interesting, but it probably wouldn't scale well for wildly different image sizes, and it could potentially obscure some crucial part of the image.

I think the better and simpler solution is to add a status bar at the bottom of the plugin.

dirk-thomas commented 7 years ago

From @ablasdel on July 21, 2014 20:5

I agree status bar would probably be the easiest to implement without any interference or problems. Let's shoot for that unless someone can suggest a cool way to do the overlay.

dirk-thomas commented 7 years ago

From @martonmiklos on April 5, 2016 22:28

Hello all,

I have started to work on something similar: I am patching the rqt_image_view to be able to subscribe to an another image topic where an ARGB image should be published. Using this method you could create an own overlayer node to add informations to the screen as you want. (Fake horizont, speed info, whatever).

I have also added a latency bar which would draw a bar to the top to display the difference between the timestamp in the image header to the current (drawing time): inf1