ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no build-in priority system in ROS for saying one node has higher prio than other when publishing. So you have to find another workaround.

A simple approach for that would e. g. be to have your nodes publishing on different topics and set up a republisher node that subscribes to both topics and republishes the msgs from the tele-op topic to cmd_vel if there are msgs coming in and otherwise it republishes the msgs from the self-driving topic....