필터 지우기
필터 지우기

bug:Official vSLAM example image size mismatch error

조회 수: 1 (최근 30일)
cui,xingxing
cui,xingxing 2022년 11월 28일
댓글: cui,xingxing 2022년 11월 28일
When I try to run the "Develop Visual SLAM Algorithm Using Unreal Engine Simulation" example, at line 15 of the code helperShowSceneImage(sceneName); there is a mismatch between the spatial reference object and the actual image size, and the error message is as follows.
ENV: R2022b,WIN10
Remember that the R2022a version was fine and the R2022b was affected

채택된 답변

cui,xingxing
cui,xingxing 2022년 11월 28일
After debugging and analysis, "sim3d_LargeParkingLot.jpg" exists in several installation paths, the path that should be used for this example is
“C:\Program Files\MATLAB\R2022b\toolbox\driving\drivingdata\sim3d_LargeParkingLot.jpg” ,
but internally the path used is
“C:\Program Files\MATLAB\R2022b\examples\driving_ros\data\sim3d_LargeParkingLot.jpg”
These 2 images are not identical, there is a difference in size!TMW should consider the issue of priorities!
which sim3d_LargeParkingLot.jpg -all
C:\Program Files\MATLAB\R2022b\examples\driving_ros\data\sim3d_LargeParkingLot.jpg
C:\Program Files\MATLAB\R2022b\toolbox\driving\drivingdata\sim3d_LargeParkingLot.jpg % Shadowed
  댓글 수: 2
Qu Cao
Qu Cao 2022년 11월 28일
Sorry for the inconvinience. As you figured out, this is a bug of duplicated image files with different sizes. The issue will be fixed in a future update release. As a workaround for now, you can copy the image file in
C:\Program Files\MATLAB\R2022b\toolbox\driving\drivingdata\sim3d_LargeParkingLot.jpg
to your example folder.
cui,xingxing
cui,xingxing 2022년 11월 28일
Thank you 曹博 for your quickly reply~

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

추가 답변 (0개)

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by