bug:Official vSLAM example image size mismatch error

1 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by