First time here? Check out the FAQ!


ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Is there a package to display topic values in rviz?

asked Feb 22 '18

VictorLamoine gravatar image

updated Feb 22 '18

In my application several values are being published on ROS topics, they are mainly booleans, integers and floats, they could be ROS durations too for example.

I would like a Qt panel that would allow me to pick which topics should be displayed and that would display an LCD showing the value (dynamically) for each topic selected. This GUI must be easy to use (no command line etc.).

Did someone already develop something similar?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
3

answered Mar 8 '18

VictorLamoine gravatar image

As I did not found a package doing the job, I made one called topics_rviz_plugin :

https://gitlab.com/InstitutMaupertuis/topics_rviz_plugin/raw/kinetic/documentation/pick_topics.png

The user clicks on configure, choose the topics he wants to be displayed (hovering the mouse will display the topic type in a tooltip).

image description

The topics are updated to display the last message available; this might not suit applications with high update rates as it will probably make values hard to read; this suits my needs.

Merge requests and issues are welcome to improve this package!

Preview: (hide)

Comments

Hello, I'm Vivien and i started the ROS code there is 1 month ago, so i try to do my best but sometimes it's always vagueness. (And i'm working on kinetic and not Melodic)

So i download you'r pkg, i did some little modification to have my own configuration and then i compile and all work. Anyway when i put in my launch file for an application a don't suceed to display the windows of topics. I don't know what i have to put in argument because i don't understand all the code. So if u know how to use and what writte in my main launch to call the fonction , it's can be cool for me.

thk lot if u see and anwsered. sorry for english, im french hahah

VivosLespagnos gravatar image VivosLespagnos  ( Jul 3 '19 )edit
1

answered Feb 22 '18

Nico__ gravatar image

Hi,

I think you can check the rqt plugin Topic monitor : http://wiki.ros.org/rqt_topic

Or you can try building your own RViz panel plugin to display exactly what you want : http://docs.ros.org/lunar/api/rviz_pl...

Preview: (hide)

Comments

This does not integrate to RViz but it's a useful module. I'll build my own RViz panel then

VictorLamoine gravatar image VictorLamoine  ( Feb 28 '18 )edit

Question Tools

3 followers

Stats

Asked: Feb 22 '18

Seen: 2,280 times

Last updated: Mar 08 '18