bug:Official vSLAM example image size mismatch error

2 views (last 30 days)
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

Accepted Answer

cui,xingxing on 28 Nov 2022
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
Qu Cao
Qu Cao on 28 Nov 2022
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.

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!