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,120 times
Last updated: Oct 23 '19
Can I mix ROS1 and ROS2 packages?
waypoint navigation in warehouse conditions
AMCL pose estimation is not accurate.
adding global planner and packages?
Why does bloom `export LDFLAGS=`?
robot model does not appear in rviz melodic
Best way to extract occupancy values from OccupancyGrid
How can I stop printing statements from moveit_commander Python?
Same trouble here t-t