-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Bug report
- AirSim Version/#commit: 1.4
- UE/Unity version: 4.25
- autopilot version:
- OS Version: tested on Ubuntu 18.04 and MacOS
What's the issue you encountered?
This issue is a duplicate of #1724, but since it seems like it hasn't been resolved I want to know if anyone has found a solution. The problem happens when trying to grab segmentation images using the PythonClient API while running airsim in headless mode (ViewMode: "NoDisplay"). When doing this the returned image is a kind of color-distorted rgb image of the entire scene. No segmentations at all. I am using the simGetImages() for grabbing segmentation images.
This is what i want (recorded with ViewMode: Fpv):

This is what i get (recorded with ViewMode: NoDisplay):

I hope someone can point me in the right direction for a fix. Thank you in advance!