Borrar filtros
Borrar filtros

how to plot grid mapping for robot path planning ?

5 visualizaciones (últimos 30 días)
dinesh tce
dinesh tce el 30 de Jul. de 2014
Comentada: Lokesh waran el 29 de Abr. de 2020
i am doing my project in robot path planning,for that i am using matlab .its new to me. i just want to know how plot grids with full of rectangles.
  3 comentarios
dinesh tce
dinesh tce el 3 de Ag. de 2014
just rectangles and sorry for mine delayed reply
engesraa el 7 de En. de 2018
i need a matlab code for horizontal and vertical lines , please

Iniciar sesión para comentar.

Respuestas (1)

Sara el 4 de Ag. de 2014
Adapt to your case the following script. I've colored the rectangles with facecolor, but you can eliminate that if you want just the contours.
close all
x = 0;
y = 15;
width = 12;
height = 23;
nrow = 5;
ncol = 3;
figure,hold on
for i = 1:nrow
yy = y + (i-1)*height;
for j = 1:ncol
xx = x + (j-1)*width;
  3 comentarios
Sara el 6 de Ag. de 2014
I have no idea of how you do that specifically.
Lokesh waran
Lokesh waran el 29 de Abr. de 2020
hello, I am working on this same project. I just have one doubt. Should i make this rectangle grid to make binary occupancy map? or just by using the binary occupancy function can i make O's and 1's? thanks in advance.

Iniciar sesión para comentar.


Más información sobre Genetic Algorithm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by