Measurement Error of Ultrasonic Sensor in Driving Scenario Designer

조회 수: 4 (최근 30일)
정호 윤
정호 윤 2024년 7월 17일
댓글: 정호 윤 2024년 7월 18일
I tried to obtain object and distance data using an ultrasonic sensor in the Driving Scenario Designer.
The distance values extracted from the sensor data in the Driving Scenario Designer were normal.
However, when I read the Measurement values from the Ultrasonic Detection Generator in Simulink, using the data from the Scenario Reader, the values are incorrect.
Sometimes it detects objects when there are none, or the values are completely off.
Please help me.
This is the same issue as described in the link above.
The sensor data we expect should look like this. This data is measured from the Driving Scenario Designer.
However, in Simulink, the data appears like this. This is an error of the ultrasonic sensor as confirmed in the bird's-eye view in Simulink.

채택된 답변

Angelo Yeo
Angelo Yeo 2024년 7월 17일
Hi, it looks like there was a bug in Ultrasonic Detection Generator block in Automated Driving Toolbox. And it looks like a bug that I assume is the same with your situation is fixed in R2024b. Can you try the same approach in R2024b Prerelease?
Below is my comparison in R2024a and R2024b prerelease at the exact same time (0.5 sec).
If you want a fix in releases before R2024b, please reach out to MW Technical Support.
  댓글 수: 1
정호 윤
정호 윤 2024년 7월 18일
Thank you for your answer.
When I display the measurements from the ultrasonic sensor generator in Simulink, the values seem accurate. However, there are times when the values appear strange on the Bird's Eye Scope.
Nonetheless, since the values are accurate in Simulink, I think I can still use it

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by