Skip to content

UNITY: Multi-drone simGetImages() returning images of only one drone #4816

@shabpompeiano

Description

@shabpompeiano

Bug report

  • AirSim Version/#commit: 1.8.1 (latest)
  • UE/Unity version: Unity 2021.3.6f1
  • autopilot version:
  • OS Version: Windows 10

What's the issue you encountered?

simGetImages() in python api call with a multi drone setting returns captured images from only one drone

Settings

How can the issue be reproduced?

The issue is in Vehicle.cs file, I have created a PR with the fix, if you encounter this problem don't waste days to fix it as I did and take a look at the PR

  1. In Unity multy drone scene add different shapes in front of cameras
  2. run scene and run multi_agent_drone.py example
  3. You will notice that the images come from the same drone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions