Error report on compiling modules with custom message into ROS node
Afficher commentaires plus anciens
1. Version: matlab2021a
2. Description: the custom message is compiled by the command "rosgenmsg", which is successfully used in the Simulink model. However, in the process of compiling and generating independent ROS nodes, an error is reported, indicating that the internal name of the custom message does not match (it can be used normally in lower versions of MATLAB). The error is as follows:

3. Hope someone can answer my question. Thank you very much!
1 commentaire
小胖 岳
le 26 Mai 2021
Réponses (1)
Abhijeet Gadkari
le 28 Mai 2021
0 votes
This is a known problem that was fixed in R2021a update1.
Please install R2021a update 1 and generate code again.
Let us know if this resolved the issue.
-Abhijeet
Catégories
En savoir plus sur ROS 2 Network Access in Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!