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