ZBLOG

ros2报错 New publisher discovered on this topic, offering incompatible QoS

This error message usually indicates that your node has already subscribed to a topic, and another node is attempting to publish to that topic with an incompatible QoS (Quality of Service) configuration.

To resolve this issue, you can try the following methods:

  1. Check if the QoS configurations of your node and the other node are matching. Make sure that they are running on the same QoS level.

  2. If you cannot change the QoS configuration of the other node, you can try changing the QoS configuration of the subscribed topic on your node to be compatible with the publisher’s setting. You can use the qos_profile parameter in the create_subscription function to specify the desired Quality of Service.

  3. If you need a higher level of Quality of Service, you can try upgrading the DDS implementation of the other node to support the required QoS configuration.

  4. If you cannot change the QoS configuration of the other node and also cannot change the QoS configuration of your node, you may need to reconsider your system architecture and redesign the communication pattern between topics and nodes.

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://sdn.0voice.com/?id=177

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?