Skip to content

ITUROBLAB/-synthetic_laser_measurement_MATLAB-yilmazabdurrah-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

synthetic_laser_measurement_MATLAB

Synthetic laser measurements from occupancy grid map

When you run the FakeLaserRead.m script

  1. Reads map from a file with ".pgm" extension and its properties from a file with ".yaml" extension
  2. Asks to select a suitable free point on the map
  3. Generates fake laser measurements according to laser scanner range and resolution settings
  4. Draws selected point (blue color), fake laser measurements (red color), and laser range circle (dashed-black color) on map

Example for mymap in maps folder

1) Asking point selection for maps/mymap

2) Drawn synthetic laser measurements for maps/mymap, laserRange = 5 m, laserResolution = 0.25 degrees

Example for mymap2 in maps folder

1) Asking point selection for maps/mymap2

2) Drawn synthetic laser measurements for maps/mymap2, laserRange = 30 m, laserResolution = 0.25 degrees

Please note that existing codes are used at 1 to read the YAML file and at 2 to plot Bresenham's Line for the four quadrants.

Footnotes

  1. https://github.com/llerussell/ReadYAML

  2. https://github.com/ashiagarwal73/Bresenham-s-line-algorithm-for-all-quadrants

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages