Clear Filters
Clear Filters

Mapping and Navigation in Matlab

4 views (last 30 days)
Hello, I have a robot with an Arduino board and Ultrasonic sensor for measuring distance in cm (with several degrees using servo motor). Robot measures distance and sends data to Matlab. Now, I got data in Matlab and plotted (distance/ degree).
I am trying to plot a map using sonar data and with the position in (degrees) for representing real world map by:
-Binary occupancy grid (robotics.BinaryOccupancyGrid) -Probability occupancy grid (robotics.OccupancyGrid) -Flow path How could I plot distance data on a Binary Occupancy Grid, Occupancy Grid for the probabilistic road map and finally, flow path?
I found this link on Youtube is similar to what I am planning to do https://www.youtube.com/watch?v=H3ZxAugdrYQ
Please, could you help me with this if anyone has any experience with it?
Thanks,

Accepted Answer

Sebastian Castro
Sebastian Castro on 6 Oct 2017
Have you seen the examples online?
Building a map from sensor data, having known poses: https://www.mathworks.com/help/robotics/examples/mapping-with-known-poses.html
- Sebastian

More Answers (0)

Community Treasure Hunt

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

Start Hunting!