MATLAB: Is LIDAR SLAM suitable for realtime applications

delaylaglatencyrealtimeslam

Dear MATLAB Team,Community,
I am using for my thesis your implemented SLAM algorithm. But the problem of the algorithm I am using is that it is not suitable for realtime applications.
When we tested the algorithm, we got a huge delay between the real position of the robot and the visualization in MATLAB Plot.
The measurement data are sent by a Raspberry Pi in Python via UDP to the MATLAB PC.
We are sending the measurement data in ASCII format.
Also when we cut off the power supply of the Raspberry Pi, the algorithm was still working.
I also tried to flush the input buffer but the problem was still there.
Otherwise the performance of the MATLAB SLAM algorithm is very good.
Attached you will find my MATLAB code.
Do you know about this issue?
Is there a way to solve this issue?
Is your SLAM algorithm not usable for realtime applications?
A help would really appreciated, because my deadline for my thesis is in July.
This is really important for me.
Thank you very much!
Kind regards
Chris

Best Answer

Hi,
I fixed this issue by sending less values via UDP to MATLAB. But still after some time the lag is increasing. If there will be some improvements of the algorithm, please let me know.
Best regards
Christoph
Related Question