STD Exception ROS2 Custom Message Simulink

조회 수: 30 (최근 30일)
Hassan Hotait
Hassan Hotait 2022년 2월 3일
댓글: Nupur 2024년 4월 18일
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.
On a seperate machine the following is running:
custom message: custom_interfaces/HldLldDrivingControllerSpeed.msg
Succesful custom message generation:
  댓글 수: 6
Hassan Hotait
Hassan Hotait 2022년 2월 4일
Hi Jagadeesh,
I just tried it again and it worked. Thanks anyways.
Consider the case closed.
준기 홍
준기 홍 2023년 4월 1일
Hi Hassan Hotait, its nice to hear you have solved it.
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jagadeesh Konakalla
Jagadeesh Konakalla 2022년 6월 22일
Looks like restarting the MATLAB solved the problem.
  댓글 수: 3
Jagadeesh Konakalla
Jagadeesh Konakalla 2024년 3월 26일
Hi Nupur,
How did you Rest the publisher and subscriber block ?
Jagadeesh K.
Nupur
Nupur 2024년 4월 18일
Hi Jagadeesh,
What I meant by reseting publisher & subscriber block is by reloading the topic in the blocks.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 ROS Network Access in Simulink에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by