How to get arrays of buses from message in ros subcribe in simulink and transfer to matlab function
1 回表示 (過去 30 日間)
古いコメントを表示
Dear all!
I want to get 640 values I got from ros subcriber in range to pass through the matlab function to display 640 full values in display. Because I used to use the Bus selector but it only showed me 128 values, at most 199 values so I thought I had to use the matlab function to display 640 values in the display in simulink. Currently I am using Matlab R2018B version. Please help me. Thank you very much!
0 件のコメント
回答 (1 件)
Cam Salzberger
2019 年 6 月 17 日
Hello,
You may need to manage your array sizes in Simulink ROS to allow the full number of points to be extracted from the array. However, rather than using the bus selector and a display block to extract the information, I'd highly suggest the Read Point Cloud block, assuming you use a sensor_msgs/PointCloud2 message type.
-Cam
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Publishers and Subscribers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!