Header Assignment Ros not working for Header.FrameId
古いコメントを表示
Hi,
I am using the example given by matlab for update header field in ros message.
open_system('rosHeaderAssignmentBlockExampleModel.slx').
THis example works fine.
I wanted to publish the frame id : lidar_link in a topic /my_topic, so I added a publisher with same message type(sensor_msgs/LaserScan).
The publisher bloc is connected to Bus assignment where i selected Header.FrameID, the bus assignment input is connected to Header Assignment block.
All other selection (Header.Stamp), rangeMin,Range max ...works fine but Header.FrameId not working. it display frame_id: ''.
Any adea to how to resolve that ?
Thanks by advance.
3 件のコメント
Hocine YAKOUBI
2023 年 7 月 21 日
Saksham
2023 年 8 月 18 日
Hi Hocine,
Please share the Simulink model made by you. That will be helpful to me in reproducing the issue.
Thanks
Hocine YAKOUBI
2023 年 8 月 24 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with ROS Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!