필터 지우기
필터 지우기

VehiclecostMap from Driving Scenario App

조회 수: 1 (최근 30일)
Shubham Dattatraya Gorde
Shubham Dattatraya Gorde 2023년 9월 18일
댓글: Shubham Dattatraya Gorde 2023년 9월 26일
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
Sachin Lodhi 2023년 9월 25일
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:
  1. Create a 2D matrix with the values in your map and create a ‘vehicleCostmap’ object.
  2. 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.
  댓글 수: 1
Shubham Dattatraya Gorde
Shubham Dattatraya Gorde 2023년 9월 26일
Hi,
Thanks a lot for the answer and taking your time out to answer my question.
I have already been following this Vehiclecostmap documentation. My main question was , in the driving scenario , my scenario consists of 600 m straight track and random vehicle on the track. Here i want to use RRT* path planner to help my vehicle reach from start till end without collision. The requiremnet of this path planner is having a vehiclecost map as input.
Now , for the entire scenario as the scenario runs i would like to prepare a velocity map and feed the same as input to the planner.
Can you please guide on how can i prepare this 2D matrix for the entire driving senario? or the 2. implementation in detail.
Thanks in Advance.

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

Community Treasure Hunt

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

Start Hunting!

Translated by