Skip to content

Segmentation Image bug when running headless #3504

@KristofferFogh04

Description

@KristofferFogh04

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):
Skærmbillede 2021-03-22 kl  16 53 48

This is what i get (recorded with ViewMode: NoDisplay):
Skærmbillede 2021-03-22 kl  16 53 12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions