I am trying to understand how to use SLAM with lidar data. I watched the videos of MATLAB about SLAM but I could not find an answer to my problem or there was an answer but I did not understand.
My situation is I am working on GAZEBO with turtlebot and I want to make a map using SLAM with lidar. On MATHWORKS example there is a mat file that consist lidar data. I did an obstacle avoidance with turtlebot using Lidar and it is working fine but I do not know how to use SLAM with these lidar data. Do I have to save all these lidar data to a mat file then use SLAM to get map or is there a way to get map simultaneously without saving data to mat file ?
thanks in advance