Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

salvage: Unity multi-drone CaptureCameras lookup (credit @shabpompeiano #4815)#9797

Open
Bartok9 wants to merge 1 commit into
microsoft:mainmicrosoft/AirSim:mainfrom
Bartok9:aerial/salvage-unity-multidrone-cameras-4815-20260721Bartok9/AirSim:aerial/salvage-unity-multidrone-cameras-4815-20260721Copy head branch name to clipboard
Open

salvage: Unity multi-drone CaptureCameras lookup (credit @shabpompeiano #4815)#9797
Bartok9 wants to merge 1 commit into
microsoft:mainmicrosoft/AirSim:mainfrom
Bartok9:aerial/salvage-unity-multidrone-cameras-4815-20260721Bartok9/AirSim:aerial/salvage-unity-multidrone-cameras-4815-20260721Copy head branch name to clipboard

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 21, 2026

Copy link
Copy Markdown

Summary

Salvage of @shabpompeiano’s approach in #4815, rebased onto current main with a null-safe helper and clearer multi-vehicle comments.

SetUpCameras used GameObject.FindGameObjectWithTag("CaptureCameras"), which only returns the first match in the scene. In multi-drone Unity setups, every vehicle therefore registered the same camera set and simGetImages only reflected one drone.

This finds the CaptureCameras child under the current vehicle by name, matching the original salvage intent.

Credit

Original work: @shabpompeiano in #4815

Verification

microsoft#4815)

Find CaptureCameras under the current vehicle instead of the first
scene object with that tag so simGetImages works for multi-drone Unity setups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.