필터 지우기
필터 지우기

Path planning from and limiting the dimensions of the vehicle

조회 수: 2 (최근 30일)
Michal Mihálik
Michal Mihálik 2021년 10월 18일
댓글: Michal Mihálik 2021년 10월 21일
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

채택된 답변

Prashant Kumar
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.
  댓글 수: 1
Michal Mihálik
Michal Mihálik 2021년 10월 21일
I looked at the information for the validatorVehicleCostmap
validatorOccupancyMap also for the functions isStateValid () and isMotionValid (), but I still don't know how to use it ... can you give me an example?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Motion Planning에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by