MATLAB Answers

0

How to get arrays of buses from message in ros subcribe in simulink and transfer to matlab function

Nguyen Trang 님이 질문을 제출함. 14 Jun 2019
최근 활동 Cam Salzberger 님이 답변함. 17 Jun 2019
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

로그인 to comment.

태그

제품


릴리스

R2018b

답변 수: 1

Cam Salzberger 님의 답변 17 Jun 2019

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

로그인 to comment.



Translated by