送信したROSメッセージを受信側で確認すると変数配列が0で埋められているのはなぜですか?
Show older comments
R2023bのSimulinkでROS Toolboxを使用しています。
Bus Assignmentブロックを使用して、変数配列データを含むBlank Messageにいくつかのデータを入れました。
調査したところ、ROS Publishブロックの入力信号には割り当てられたデータがありますが、ROS Subscribeブロックで受信した後、出力の変数配列フィールドがゼロで埋められていました。
パブリッシングデータが消えるのはなぜですか?他にやるべきことはありますか?
Accepted Answer
More Answers (0)
Categories
Find more on ROS 2 Network Access in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!