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

4 vues (au cours des 30 derniers jours)
William Campbell
William Campbell le 7 Fév 2020
Commenté : Fedi Chaarana le 13 Sep 2020
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.

Réponses (2)

Ajay Pattassery
Ajay Pattassery le 10 Fév 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 commentaires
Fedi Chaarana
Fedi Chaarana le 13 Sep 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

Connectez-vous pour commenter.


William Campbell
William Campbell le 19 Fév 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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by