-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UNITY: Fix get images from multiple drones: simGetImages() was only retur… #4815
base: main
Are you sure you want to change the base?
Conversation
…ning images for one drone when asking for images from multiple drones
@shabpompeiano please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
@microsoft-github-policy-service agree |
@shabpompeiano I made the changes in your PR in my local file, and it fixed the issue with getting multiple drones' RGB image frames, but the issue with the getting the depth frame and semantic segmentation frame from multiple drones remains the same -- it is coming from only one of the drones. Can you please give some guidance on how to fix this? |
…ning images for one drone when asking for images from multiple drones
Fixes: #
About
UNITY: The call to the api getSimImages() through Python was returning images only from one drone even in a multi-drone setting. The reason is that when doing SetUpCameras() only the cameras of one drone were added.
How Has This Been Tested?
Running the example script multi_agent_drone.py it was not that clear from which drone were the images captured coming from. After testing by adding different shapes in front of the capturing cameras (cam "0" and cam "1") I realized that they were coming only from one drone.
Screenshots (if appropriate):