-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About mqtt_ Bridge is linked for a long time and cannot receive data #61
Comments
I am also facing similar issue. Whenever the mqtt showing disconnected and connected, the communication between ROS client and MQTT server no longer established. But if i re-do roslaunch of mqtt bridge, and it shows connected, then the communication is established. Why would the connected after disconnected doesn't actually connect ? Best, |
Hello @Minpig @HappySamuel I have the same problem here. If I use local environment to do the test. if I use aws iot mqtt, it is really annoying and I spend quite a long time to do the trouble shoot. @HappySamuel |
additional information. @yuma-m @ledmonster |
for adding more information. MQTT disconnected @ledmonster @yuma-m |
then I am using aws iot tls. |
@chengchenglee @HappySamuel |
@Minpig thanks for your information! |
@Minpig when I only connect ROS->mqtt bridge, everything goes well. adversely, when I only connect mqtt->ROS bridge, re-connection appears. do you have any idea about this symptom? |
@chengchenglee @Minpig @HappySamuel Sorry, I can't work on this issue now. |
Did anybody got solution for this? I am also stucked in this issue . My ros environment is connected to the outside server. But I can't receive my messages from the server. How can I get my messages from mqtt_topic to rostopic . |
Did you solve the problem, now im facing the same issue. |
Hi @sugangandhi I added a topic to be published up into mqtt and then loop back to receive it. With this, an additional program is used to monitor the topic to check the connectivity. If the subscribed topic is missing, then kill the mqtt and re-launch it. Best |
Could you please give me an idea on how you added a topic into mqtt? |
Hi @HappySamuel |
Hi @sugangandhi For example the config for mqtt bridge, you will need bridge:
Best |
Hi @HappySamuel Thanks for your last comment. Can you please explain how to publish the received messages from mqtt topic in a new rostopic . Thanks in advance |
Hi @foreverbala It's custom msg i created, you may follow tutorial on how to create custom message. Regardless of custom message, mqtt bridge also can work with default ROS1 message, ex: std_msgs / sensor_msgs You don't have to publish the received messages from mqtt topic into rostopic, Best |
Hi @HappySamuel Thanks for your valuable answers.It will help me a lot. |
A few days after the mqttbridge link, the ROS client cannot receive data from the mqtt server, but the device can receive instructions sent to the mqtt server. At this point, restart mqttbridge and you can receive it again. Why? Is there a link timeout operation in mqttbridge that does not receive data?
The text was updated successfully, but these errors were encountered: