필터 지우기
필터 지우기

Simulink generator ROS node code generation failed

조회 수: 1 (최근 30일)
Haowen Liu
Haowen Liu 2022년 7월 3일
답변: ivan petrov 2022년 10월 17일
Hi folks,
I'm trying to deploy the ros node usnig one of the model in my Simulink project.
I tried simple testing subscripter and publisher model and they deployed perfectly onto my Raspberry Pi.
However, when I tried to deploy my other larger model, I got the following error message:
% code generation assertion 'false' failed in 'B:\matlab\src\simulink\sl_engin\rtwgen.cpp:3286'
Has anyone encountered this problem before or have any solutions?
Thanks!
  댓글 수: 3
Haowen Liu
Haowen Liu 2022년 7월 4일
Hi Jagadeesh,
Thanks for the prompt response! I'm using MATLAB 2022B.
However, I'm very sorry that I can't share the Simulink project, which is the intellect property of my company.
The above mentioned error happens when I tried to build/run the Simulink project as a ros node on my Raspberry Pi, to which my Simulink connect.
Sincerely,
Haowen
Jagadeesh Konakalla
Jagadeesh Konakalla 2022년 7월 4일
Hi Haowen,
Are you using the Prerelease version of 2022b ?
I can understand the company restrictions on intellect property. You can reach us through the MathWorks Technical Support Team.
You should atleast send us the complete error log. Try to reduce the model to representative of your actual model to reproduce the issue. Otherwise it is hard for us to help with you the error that you are seeing.
Thanks,
Jagadeesh K.

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

답변 (1개)

ivan petrov
ivan petrov 2022년 10월 17일
I had a similar error. This problem was worked around by changed parameter "CodeInterfacePackaging" from "C++ class" to "Reusable function".

카테고리

Help CenterFile Exchange에서 Specialized Messages에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by