Is it possible to filter rostopic echo by node?
Lets suppose that node A and B are publishing to a topic T, is it possible to use rostopic echo to show only what node B is publishing?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Lets suppose that node A and B are publishing to a topic T, is it possible to use rostopic echo to show only what node B is publishing?
No, I don't believe that is currently supported (as of Kinetic/Melodic).
rostopic echo
does support a --filter
expression:
--filter=FILTER-EXPRESSION
Python expression to filter messages that are printed.
Expression can use Python builtins as well as m (the
message) and topic (the topic name).
However I don't believe that has access to message metadata (as opposed to the message data itself) which is what you would need.
Asked: 2019-10-23 09:31:20 -0500
Seen: 1,124 times
Last updated: Oct 23 '19
Problems installing ROS1 Packages
LiDAR and Camera ros msg count
Cartesian path won't achieve full trajectory
Validity/return state of moveit's group.plan
MoveIt node for "both arms" of YuMi IRB14000
[map_server-1] process has died [pid 14292, exit code 255
Planning requests counting collisions between robot links that should be ignored?
Same trouble here t-t