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

rqt_plot not plotting one signal; rostopic echo works

asked 2017-09-12 07:29:10 -0500

carlosgalvezp gravatar image

updated 2017-09-12 07:39:36 -0500

Hi,

I want to plot 2 signals: desired velocity and current velocity. Both come from a Twist, and I want to plot /linear/x. I try with rqt_plot and it can successfully plot the desired velocity, but not the current velocity.

Please have a look here: https://imgur.com/a/bTqXF

However I can see the topic is being correctly published with rostopic echo:

$ rostopic echo /current_velocity/twist/linear/x
1.7227491072e-08
---
1.7227491072e-08
---
5.7998790784e-07
---
6.097357376e-07
---
5.9487299872e-07

What's the problem? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-09-12 08:55:57 -0500

carlosgalvezp gravatar image

The problem was that /current_velocity did NOT have a stamp in the header. After adding it it works perfectly!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-09-12 07:29:10 -0500

Seen: 647 times

Last updated: Sep 12 '17