bug:Official vSLAM example image size mismatch error

1 Ansicht (letzte 30 Tage)
cui,xingxing
cui,xingxing am 28 Nov. 2022
Kommentiert: cui,xingxing am 28 Nov. 2022
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

Akzeptierte Antwort

cui,xingxing
cui,xingxing am 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
  2 Kommentare
Qu Cao
Qu Cao am 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.
cui,xingxing
cui,xingxing am 28 Nov. 2022
Thank you 曹博 for your quickly reply~

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by