AirSim
AirSim copied to clipboard
recording is not the same as preview
Bug report
- AirSim Version/#commit: 950a5594
- UE/Unity version: -
- autopilot version: -
- OS Version: windows 10
What's the issue you encountered?
the recorded image is not the same as what is rendered in the simulatore

Settings
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"SimMode": "ComputerVision",
"SpeedUnitFactor":0.1,
"RecordUIVisible": false,
"Recording":{
"Enabled": false,
"RecordOnMove":false,
"RecordInterval": 10.0,
"Cameras": [
{ "CameraName": "0", "ImageType": 0, "PixelsAsFloat": false, "Compress": true },
{ "CameraName": "0", "ImageType": 3, "PixelsAsFloat": true },
{ "CameraName": "0", "ImageType": 2, "PixelsAsFloat": true },
{ "CameraName": "0", "ImageType": 1, "PixelsAsFloat": true }
]
},
"CameraDefaults": {
"CaptureSettings": [
{
"ImageType": 0,
"Width": 1024,
"Height": 576,
"TargetGamma":1.0
},
{
"ImageType": 3,
"Width": 1024,
"Height": 576
},
{
"ImageType": 1,
"Width": 1024,
"Height": 576
},
{
"ImageType": 2,
"Width": 1024,
"Height": 576
}
]
},
"SubWindows": [
{"WindowID": 0, "CameraName": "0", "ImageType": 0, "VehicleName": "", "Visible": true},
{"WindowID": 1, "CameraName": "0", "ImageType": 6, "VehicleName": "", "Visible": true},
{"WindowID": 2, "CameraName": "0", "ImageType": 3, "VehicleName": "", "Visible": true}
]
}
How can the issue be reproduced?
- please use this project
https://drive.google.com/file/d/1Vg9xPrzcaquRFsK5luASrlUk7g2_Ni1X/view?usp=sharing
What's better than filing an issue? Filing a pull request :).
This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.
@tsaizhenling, can you try with this solution?
I ran into this problem myself. I seem to have fixed it by digging into the details of the SceneCaptureComponent in the BP_PIPCamera blueprint and checking both Use Ray Tracing if Enabled and Temporal AA checkboxes in the Scene Capture section. Now the inset and saved images appear to be the same as the "game" camera in image quality. I spent a lot of time trying options within the Camera Component, but it seems those are not used?
Would love to hear from anyone with more insight if this makes sense to them!