2D trajectory using IMu data

6 views (last 30 days)
mohamed madi
mohamed madi on 19 Aug 2022
Answered: Pratyush Swain on 26 Sep 2023
Hello i have a question. How can i draw a 2d trajectory in matlab using imu data (acc,gyr,mag). And how i can plot this trajectory on Lidar map scanned already.

Answers (1)

Pratyush Swain
Pratyush Swain on 26 Sep 2023
Hi mohamed,
I understand that you would like to draw a 2D trajectory in MATLAB using IMU data on an existing lidar map. Assuming you have a 2D Lidar scanned map object as mentioned in https://in.mathworks.com/help/nav/ref/lidarscan.html , first the lidar map can be visualized using the plot function followed by calculation trajectory from the IMU data and plotting it on the existing Lidar map.
Please refer to the functions available in the MATLAB File Exchange entry titled "Inertial Measurement Unit Position Calculator" (https://in.mathworks.com/help/nav/ref/lidarscan.html ). These functions will provide the necessary tools to calculate and visualize the trajectory based on your IMU data.
Hope this helps.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!