groove-x / mqtt_bridge

mqtt_bridge provides a functionality to bridge between ROS and MQTT in bidirectional
MIT License
160 stars 146 forks source link

MQTT to ROS doesn't work, but ROS to MQTT works #33

Closed mhaboali closed 3 years ago

mhaboali commented 4 years ago

I've tried the example to publish /ping topic and I managed to get the msgs on the other MQTT app, but the /pong topic was empty.

Any help? @yuma-m

yuma-m commented 4 years ago

Hi @mhaboali, Could you show your ROS logs? If you are using the demo configuration below, I think the message sent to ROS /ping topic will be sent back to ROS /pong topic because they use the common MQTT topic ping. https://github.com/groove-x/mqtt_bridge/blob/master/config/demo_params.yaml#L13-L20

ledmonster commented 3 years ago

@mhaboali Please reopen the issue if you have extra questions, thanks.