VehiclecostMap from Driving Scenario App
이전 댓글 표시
Hello,
Is there any way to obtain vehicleCostmap object from drivingScenario App. I have prepared a driving scenario and would like to obtain a vehicleCostmap. Without vehicleCostMap, plan, pathplannerRRT will not work, according to the document. I plan to use pathplannerRRT to plan the path on a straight line scenario.
I request you to please help and guide me. Thanks in advance.
답변 (1개)
Sachin Lodhi
2023년 9월 25일
1 개 추천
Hi Shubham,
Based on the information provided, it appears that you are facing challenge in obtaining the ‘vehicleCostMap’ object when using ‘drivingScenario’ App. Although, there is no direct ability to do this, however, there are two ways to accomplish it:
- Create a 2D matrix with the values in your map and create a ‘vehicleCostmap’ object.
- Generate a 'blank vehicleCostmap' object and utilize the 'setCosts' function to populate it with the necessary data.
To gain a deeper understanding of the 'vehicleCostmap' and its associated functions, I recommend referring to the documentation provided, which offers comprehensive information on this topic:
I hope you find this information useful.
카테고리
도움말 센터 및 File Exchange에서 Planning and Control에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!