- When does this error occur (right away when doing rosinit, after doing something else, or after a random amount of idle time)?
- Where is the ROS Master located (MATLAB machine or other ROS machine)?
- Does this happen if you keep everything local to just MATLAB (Master, nodes, publishers/subscribers)?
- While you are connected to the other ROS machine and everything is set up normally (before the error), run "ros.internal.generateSupportFile" in MATLAB and send the generated file to support. This will provide them with a lot of relevant information about your environment setup and the ROS network.
I keep dropping connection to a ROs device
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
CHRISTOPHER MILLAR
le 26 Jan 2022
Commenté : CHRISTOPHER MILLAR
le 22 Août 2022
Hi,
I am working with some sensors that I access using ROS toolbox
Recently I have been getting the following error:
Caught "std::exception" Exception message is:
Connection to process with Exchange: "f59c06ba-0ce7-423c-85ba-168468cf70d9 " was lost.
I thought it was becuase sometimes the PC that has the ROS sensors connected to it (a different PC that I run Matlab on) screen locks after a while if there is no activity on the local machine. But I am getting the error message while the connection is still live.
When this happens i can no longer send any ROS messages or even run rosshutdown command
To resolve this issue I have had to restart Matlab which is not an ideal solution
Has anyone got any ideas on how I can stop it losing its connection to the ROS PC
Regards
Chris
2 commentaires
Cam Salzberger
le 28 Jan 2022
Hello Christopher,
The "connection to process with exchange ... was lost" error message generally means that the ROS node has crashed. It runs in a separate process from MATLAB, so the whole program doesn't crash, just the node. But it can make it difficult to restart rosinit.
This can be difficult to diagnose without more involved troubleshooting, so I'd suggest contacting technical support for assistance. A couple things that you can provide to support to help them diagnose would be:
-Cam
Réponse acceptée
Jagadeesh Konakalla
le 19 Août 2022
The "connection to process with exchange ... was lost" error message generally means that the ROS node has crashed. It runs in a separate process from MATLAB, so the whole program doesn't crash, just the node. But it can make it difficult to restart rosinit.
This can be difficult to diagnose without more involved troubleshooting, so I'd suggest contacting technical support for assistance. A couple things that you can provide to support to help them diagnose would be:
- When does this error occur (right away when doing rosinit, after doing something else, or after a random amount of idle time)?
- Where is the ROS Master located (MATLAB machine or other ROS machine)?
- Does this happen if you keep everything local to just MATLAB (Master, nodes, publishers/subscribers)?
- While you are connected to the other ROS machine and everything is set up normally (before the error), run "ros.internal.generateSupportFile" in MATLAB and send the generated file to support. This will provide them with a lot of relevant information about your environment setup and the ROS network.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!