- Click on the sensors tab on the top left of the Driving Scenario Designer app.
- Click the Sensor Placement dropdown. Here you can change the position of your sensor placement as well as modify its rotational parameters.
- Click the Sensor Parameters dropdown. There is a parameter here called Field of View. Upon increasing its value you would observe that the range of detections of the sensor increases. It is depicted by the visualization of ego car with the sensor on the right.
How to detect Actor (Cars, Pedestrians) in Simulink Model?
조회 수: 8 (최근 30일)
이전 댓글 표시
I'm building a model in the Automate Driving Toolbox package.
I have add Radar on EgoCar to detect other actors follow link https://www.mathworks.com/help/driving/ref/simulation3dprobabilisticradar.html
As I understand, it should distinguish pedestrian or vehicle based on ObjectClassID, but when I run the program all ObjectClassID is 0.
Please help me.
Thanks.
댓글 수: 0
답변 (1개)
Pratyush
2023년 6월 16일
Hi Nguyen.
It is my understanding that you have added a radar sensor to your ego vehicle in Driving Scenario Designer. However, while running the simulation your sensor is unable to detect all the objects.
This problem might be happening because the undetected objects might lie outside the range of your sensors. You can check and modify the range of your sensor by following the below mentioned steps.
By following the above steps the range of detection of the sensor can be increased. After setting one range, we can test the scenario by clicking Run button on the top and check if all important objects lie within the range of the sensor through the visualizations on the right. If some object is still beyond the range try increasing the range more until all the required objects get within the range.
Here is an image showing the Sensor tab in the Driving Scenario app where you can adjust the range of the sensor.
Here are some additional resources that will help you to learn more about adjusting sensor parameters.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Scenarios in Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!