Borrar filtros
Borrar filtros

How to detect Actor (Cars, Pedestrians) in Simulink Model?

7 visualizaciones (últimos 30 días)
Nguyen Luong Minh
Nguyen Luong Minh el 28 de Sept. de 2022
Respondida: Pratyush el 16 de Jun. de 2023
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.

Respuestas (1)

Pratyush
Pratyush el 16 de Jun. de 2023
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.
  • 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.
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.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by