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

7 次查看(过去 30 天)
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.

回答(2 个)

Ajay Pattassery
Ajay Pattassery 2020-2-10
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 个评论
Fedi Chaarana
Fedi Chaarana 2020-9-13
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

请先登录,再进行评论。


William Campbell
William Campbell 2020-2-19
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by