Matlab freezes when trying to addScan to robotics.LidarSLAM object
조회 수: 2 (최근 30일)
이전 댓글 표시
I've been trying to use the robotics.LidarSLAM function to create an object which plots the multiple lidar scans I have but when I try to add a second scan to the object (usnig addScan), Matlab essentially freezes (stays in the busy state) and I have to force close and restart matlab as a result. I've left it for 30-45 minutes before with no luck and I was wondering if anyone has experience or might know why this is happening.
I have a bunch of lidar scans which I took from the free space sensor in IPG CarMaker which I am looking to plot in this lidar SLAM object. After setting up the initial parameters (lidar range 100m, resolution 20, loop closure threshold 200, loop closure search radius 10), I then begin to add scans to the object. It has no problem adding the first scan which I can plot and see it looks fine but as soon as I try to add a second scan (I've tried adding different scans each time), Matlab tries adding it but basically freezes and remains 'busy' forcing me to close matlab and restart. Even adding in [isScanAccepted, LoopClosureInfo, optimisationInfo] doesn't help and I'm stuck here wondering what to do now.
I don't think the problem is the lidar scans themselves as when I input the first scan, the plot of it looks good and it is able to accept it but I have no clue why this is happening and would appreciate any help with resolving this if anyone has an idea. Thanks
댓글 수: 3
Sarah Haider
2019년 1월 28일
please help me when l need to use the code of slam implementation the error in(lidarSlam=robotic.lidarSlam(mapresolotion,maxLidarRange)
How can I solve this error and why this error occure when l use the code
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Labeling, Segmentation, and Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!