rqt_plot not plotting imu_message [closed]
Hi everyone,
I am trying to plot imu_data via rqt plot. But rqt_plot does not plot any imu_data. But it is plotting random_number that I am publishing. I can see the data coming from the imu. Also can be verified by rostopic hz below:
rostopic hz /imu_data
subscribed to [/imu_data]
average rate: 34.861
min: 0.028s max: 0.029s std dev: 0.00047s window: 33
average rate: 34.806
min: 0.028s max: 0.033s std dev: 0.00070s window: 68
^Caverage rate: 34.814
min: 0.028s max: 0.033s std dev: 0.00066s window: 88
The command that I am using to plot the acceleration data is
rqt_plot /imu_data/linear_acceleration/x
Can anyone suggest what i am doing wrong?
Can you please add the output of:
And also the output of:
A time stamp in your imu topic may not be filled. rqt_plot can't plot without time stamp.
Output of
rostopic echo -n1 /imu_data
And
rostopic list | grep imu
My Imu does not give me orientation data, so that x,y,z,w are zero.
I added the time stamp, now it is working. Thank you.