Path planning from and limiting the dimensions of the vehicle
8 次查看(过去 30 天)
显示 更早的评论
How do I set the path plannig A * hybrid parameters to take into account the size of the vehicle when I planning path? it is possible? The dimensions of my vehicle are 0.6x0.9 meters
0 个评论
采纳的回答
Prashant Kumar
2021-10-19
Yes, Hybrid A* path planner can consider vehicle dimensions while planning the path.
For that, a new validator class should be written by inheriting any of these two classes: validatorOccupancyMap or validatorVehicleCostmap (These two classes are getting shipped with Navigation Toolbox).
Then in the new validator class, the two collision checking methods: isStateValid() and isMotionValid(), should be defined again which will consider the vehicle dimensions while doing collision checking.
Then this new validator object should be used to create plannerHybridAStar object.
The rest of the steps remains the same. By this, Hybrid A* planner will consider vehicle dimensions while planning the path.
Another simpler solution is to inflate the map with vehicle dimensions.
更多回答(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!