unable to load Poses(Odometry) data in the slamMapBuilder app

1 view (last 30 days)
I have attached the snapshots of the Scans data and Odometry data that I have. I load both the .mat files in the workspace and when i try to use the slamMapBuilder app, I am unable to see the Odometry data which I loaded.

Accepted Answer

Tushar
Tushar on 12 Sep 2023
Hi Rahul,
I understand that you are looking to import the 'Scans' data and 'Odometry' data from a MAT-file to the 'SLAM Map Builder' App. I have tried reproducing the issue at my end by referring to the example 'Build and Tune a Map Using Lidar Scans with SLAM' in the below link -
I have used the 'scans' variable from the above example and put together a random Odometry data to test out the importing process. Here are a few points which would help you:
  • The poses(Odometry) variable must be a 'cell array' of 1-by-3 finite double vectors, or an N-by-3 finite double matrix.
  • I tried out the former one, the variable showed up on the SLAM Map Builder App.
  • The number of odometry poses must match the number of scans.
I hope the above points will help you identify the issue in your data and let you successfully import it onto the SLAM Map Builder App.
Best Regards,
Tushar Agarwal

More Answers (1)

Akshai Manchana
Akshai Manchana on 11 Mar 2024
Hi Rahul,
I hope your issue got resolved.
As Tushar suggested SLAM Map builder expected the odometry data to be a double N-by-3 matrix instead of the single type used in the shown example image. A potential fix is to convert it to double matrix and refresh the workspace.
odometry_data = double(odometry_data);
Thanks & Regards
Akshai Manchana

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!