Skip to content

Is mqtt_client work with python as well? #10

Answered by lreiher
RangeOfGlitching asked this question in Q&A
Discussion options

You must be logged in to vote

When referring to MQTT bridge, are you specifically talking about the Python package mqtt_bridge or are you talking about a custom ROS Python node with the paho-mqtt MQTT Python API?

I believe it is not possible to exchange messages between mqtt_bridge <> MQTT Broker <> mqtt_client. Both sides use different ways of serializing the ROS messages to MQTT messages. It could become possible if #9 is solved and JSON serialization is used on both sides.

Talking about any kind of MQTT client, e.g. Python MQTT API <> MQTT Broker <> mqtt_client, it is possible to exchange primitive messages, see here.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RangeOfGlitching
Comment options

@lreiher
Comment options

Answer selected by RangeOfGlitching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants