Path planning using plannerAStarGrid in meters
3 次查看(过去 30 天)
显示 更早的评论
Is it possible to path planning using the plannerAStarGrid function in meters? Because how to create a planner is by default in rows and columns even if the map was specified in meters. Or is it possible to do some conversion of these rows and columns to meters?
0 个评论
采纳的回答
Ankur Srivastava
2021-12-7
编辑:Ankur Srivastava
2021-12-7
% Creating a blank map
map = binaryOccupancyMap(10,10);
% Creating plannerAStarGrid object
astar = plannerAStarGrid(map);
% Planning in grid frame i.e. row/column
pathRC = astar.plan([1 1],[4,9]);
% Planning in world fram i.e. XY plane in meters
path = astar.plan([1.5 1.5],[4.5 9],'world')
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Motion Planning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!