Print-Echo All Rostopics to a file

asked 2021-06-05 07:07:18 -0500

Sahin gravatar image

Hey, I want to debug something and since I use px4 I have lots of rostopics. I want to find where an information is sent from. So, is there a way to dump all rostopics to a file like

/mavros/global_pos
header:
seq: 12
stamp:
secs: 453
nsecs: 744000000
frame_id: "base_link"
status:
status: 0
service: 1
latitude: 35.7559031
longitude: -120.7989652
altitude: 185.224683145
position_covariance: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
position_covariance_type: 2

. . .

/mavros/local_pos :
. . . .

edit retag flag offensive close merge delete

Comments

abhishek47 gravatar image abhishek47  ( 2021-06-07 11:29:43 -0500 )edit