microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.04k stars 4.48k forks source link

Camera recording function problem #4916

Closed mrwen-hard closed 5 months ago

mrwen-hard commented 5 months ago

Operating system: Windows 10 Airsim version: 1.8.1 unreal engine version: 4.27.2

Hello, I encountered the following problem when using the recording function of Airsim camera: The recorded folder can be written to disk, but there are no recorded pictures in the folder. 1 2

The value of the ImageFile field in the generated airsim_rec.txt file is -1 3

What is the cause of this? How to solve it?

mrwen-hard commented 5 months ago

The problem has been solved. It was the "Recording" and "Cameras" configuration errors in the setting.json file.