CodexLabsLLC / Colosseum

Open source simulator for autonomous robotics built on Unreal Engine with support for Unity
https://codexlabsllc.github.io/Colosseum/
Other
335 stars 105 forks source link

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

Open shabpompeiano opened 1 year ago

shabpompeiano commented 1 year ago

Bug report

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