Simulink generator ROS node code generation failed
Mostrar comentarios más antiguos
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 comentarios
Jagadeesh Konakalla
el 4 de Jul. de 2022
Hi Haowen Liu,
Please provide us more information on which version of matlab you are using and provide me the simulink project.
Thanks,
Jagadeesh K
Haowen Liu
el 4 de Jul. de 2022
Jagadeesh Konakalla
el 4 de Jul. de 2022
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.
Respuestas (1)
ivan petrov
el 17 de Oct. de 2022
0 votos
I had a similar error. This problem was worked around by changed parameter "CodeInterfacePackaging" from "C++ class" to "Reusable function".
Categorías
Más información sobre Get Started with ROS Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!