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 2018-02-22 03:05:02 -0600

VictorLamoine gravatar image

updated 2018-02-22 03:10:11 -0600

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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2018-03-08 09:54:31 -0600

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!

edit flag offensive delete link more

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  ( 2019-07-03 09:17:34 -0600 )edit
1

answered 2018-02-22 03:15:53 -0600

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...

edit flag offensive delete link more

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  ( 2018-02-28 08:30:50 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2018-02-22 03:05:02 -0600

Seen: 2,262 times

Last updated: Mar 08 '18