STD Exception ROS2 Custom Message Simulink
30 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I would appreciate ant tips regarding the following. :)
MATLAB R2021A
Error in Simulink Diagnostic Viewer: Subscribing to a topic with a custom message.
STD exception 'class mwboost::exception_detail::clone_impl': 'Connection to process with Exchange: "f945d322-3833-4611-89f7-e4b72eeb8dd3 " was lost.' was caught.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/883650/image.png)
On a seperate machine the following is running:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/883655/image.png)
custom message: custom_interfaces/HldLldDrivingControllerSpeed.msg
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/883660/image.png)
Succesful custom message generation:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/883665/image.png)
6 comentarios
준기 홍
el 1 de Abr. de 2023
im facing the similar issue you have posted. i made a custom message using "ros2genmsg()" and when i run the simulink model i get a error message saying
STD exception 'mwboost::wrapexcept<mwboost::exception_detail::current_exception_std_exception_wrapper<std::invalid_argument> >': 'Connection to process with Exchange: "5f1470ff-8f66-40e9-84fb-5f3bfd116a13 " was lost.' was caught.
it would be thankful of you if you can share how you made it work.
Respuestas (1)
Jagadeesh Konakalla
el 22 de Jun. de 2022
Looks like restarting the MATLAB solved the problem.
3 comentarios
Jagadeesh Konakalla
el 26 de Mzo. de 2024
Hi Nupur,
How did you Rest the publisher and subscriber block ?
Jagadeesh K.
Nupur
el 18 de Abr. de 2024
Hi Jagadeesh,
What I meant by reseting publisher & subscriber block is by reloading the topic in the blocks.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!