ROS and MatlabSimulink LIDAR

Hello,
I am getting acquainted with the operation of the ROS environment and I was very interested in the project called turtlebot3. It allows me to simulate a robot with a lidar sensor and visualizations of this process in RVIZ. I would now like to download information about the lidar readings in order to develop a robot positioning algorithm between the table legs in the matlab. Unfortunately, despite the fact that the message / scan contains 360 items, Matlab allows reading only 128 items, which limits the reading angle of lidar to 128 degrees.
How can you fix it? I attach the screenshots in links:
Greetings, Piotr

Answers (2)

Piotr Frankiewicz
Piotr Frankiewicz on 24 Dec 2018
Edited: Piotr Frankiewicz on 24 Dec 2018
Up, help me please!
1. Wiadomosc a — kopia.png
I attach screen messages / scan with ros

Asked:

on 22 Dec 2018

Answered:

on 28 Dec 2018

Community Treasure Hunt

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

Start Hunting!