Error report on compiling modules with custom message into ROS node

2 ビュー (過去 30 日間)
小胖 岳
小胖 岳 2021 年 5 月 26 日
回答済み: Abhijeet Gadkari 2021 年 5 月 28 日
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 件のコメント
小胖 岳
小胖 岳 2021 年 5 月 26 日
For example, in the first green box, during the compilation process, the signal "idsdcumsgbrkpedinv" I defined became "idsdcu"_ brk_ ped_ Inv ', so the corresponding signal cannot be found.

サインインしてコメントする。

回答 (1 件)

Abhijeet Gadkari
Abhijeet Gadkari 2021 年 5 月 28 日
Hello 小胖 岳,
This is a known problem that was fixed in R2021a update1.
Please refer to this bug-report for more details.
Please install R2021a update 1 and generate code again.
Let us know if this resolved the issue.
-Abhijeet

カテゴリ

Help Center および File ExchangeCustom Message Support についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by