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!