I'm using Arduino to send 6 output analog signals through rosserial_arduino with a rostopic named **/sensor_msg1**. The custom message type I use has only one component is ***int16[6] led1***.
I want to observe the change of the signal through rqt_plot, but when I run on the commandline **rqt_plot /sensor_msg1**, the rqt_plot GUI shows up but no data is plotted. There are only a legend mentioning 6 elements of led1 messages. In the commandline, there is a warning also: **"libEGL warning: DRI2: failed to authenticate"**.
When I run rostopic list:
pi@pi-desktop:~/catkin_ws$ rostopic list
/diagnostics
/rosout
/rosout_agg
/sensor_msg1
It is weird that when I use rostopic echo, the data is published, or when I tried to do rqt_plot for **turtlesim** tutorial in ROS website, rqt_plot can plot the position of the turtle anyway.
Can anyone tell me what is the problem and how to fix it?
Thank you.
↧