is there any way to use a bmp file with PRM to find path planning route

3 visualizaciones (últimos 30 días)
Is there a way to input a .bmp file with obstacles defined into the robotics.PRM functions to define path planning ?
I can't seem to create the axis configuration I want and the non-circular obstacles using the the robotics.OccupancyGrid function and have to save a figure as a .bmp file instead. But I can't seem to get anything sensible when I pass it through the PRM path planning function.

Respuestas (2)

Ajay Pattassery
Ajay Pattassery el 10 de Feb. de 2020
The .bmp file can be first converted into a binaryOccupancyMap. This map can be used as an input to the mobileRobotPRM function for finding all the possible paths.
Refer the following link for converting the Image to Binary Occupancy Grid.
The mobileRobotPRM function helps in creating the probabilistic roadmap path Planner. Refer here for more details.
  7 comentarios
Fedi Chaarana
Fedi Chaarana el 13 de Sept. de 2020
hallo
i would like to ask something similar since you seem to be well informed about this thema
i have a shapefile of a garden that i want to transform into an occupancy grid map
is there any way to do that ?
thanx

Iniciar sesión para comentar.


William Campbell
William Campbell el 19 de Feb. de 2020
Hello Ajay, thanks again for your comments - I was confused about the documentation and thought that I had to convert from pixels to world coordinates but it was just a scalling factor. Thanks again for your excellent support.

Categorías

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

Etiquetas

Productos


Versión

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by