microsoft / AirSim

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

Is depth image dimension being fixed to [144, 256]? #4882

Open WEIIEW97 opened 9 months ago

WEIIEW97 commented 9 months ago

Bug report

What's the issue you encountered?

I want to export RGB and depth images to my disk. After modification in settings.json, the scene pictures are captured in [400, 640] but depths still in [144, 256]. Is there a way I can alter the depth's dimension as well? Thanks in advance.

Settings

How can the issue be reproduced?

{
  "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/main/docs/settings.md",
  "SettingsVersion": 1.2,
  "CameraDefaults": {
    "CaptureSettings": [
      {
        "ImageType": 0,
        "Width": 640,
        "Height": 400,
        "FOV_Degrees": 90,
        "AutoExposureSpeed": 100,
        "MotionBlurAmount": 0
      },
      {
        "ImageType": 2,
        "Width": 640,
        "Height": 400,
        "FOV_Degrees": 90,
        "AutoExposureSpeed": 100,
        "MotionBlurAmount": 0
      },
      {
        "ImageType": 1,
        "Width": 640,
        "Height": 400,
        "FOV_Degrees": 90,
        "AutoExposureSpeed": 100,
        "MotionBlurAmount": 0
      }
    ]
  },
  "SimMode": "ComputerVision"
}