Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Prevent (via command line) a node from advertising topics

I am wondering if it is possible to prevent an existing node from advertising/publishing on a number of unnecessary topics.

In particular, p2os publishes on the following topics:

/sonar
/pose
/gripper_state
/motor_state
/aio
/ptz_state
/tf
/battery_state
/dio

I only care about /pose and /sonar, is there any way to tell the node not to broadcast on the other topics without rebuilding the node?

Prevent (via command line) a node from advertising topics

I am wondering if it is possible to prevent an existing node from advertising/publishing on a number of unnecessary topics.

In particular, p2os publishes on the following topics:

/sonar
/pose
/gripper_state
/motor_state
/aio
/ptz_state
/tf
/battery_state
/dio

I only care about /pose and /sonar, is there any way to tell the node not to broadcast on the other topics without rebuilding the node?