forked from microsoft/AirSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add documentation on the camera views.
- Loading branch information
1 parent
42ec685
commit bd8429d
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Camera Views | ||
|
||
The camera views that are shown on screen are the camera views you can fetch via the DroneControllerBase::getImageTypeForCamera API. | ||
Note that getImageTypeForCamera returns .png compressed images. | ||
|
||
![Cameras](images/cameras.png) | ||
|
||
From left to right is the depth view, segmentation view and the FPV view. These views must be visible in order for | ||
getImageTypeForCamera to work. | ||
|
||
## Depth View | ||
|
||
The depth view provides a ground truth depth map image. This depth is computed from the 3D model information and therefore can | ||
be used to test any other algorithm that tries to compute depth from the images. | ||
|
||
## Segmentation View | ||
|
||
This view randomly colors objects in the scene based on information on how the 3D model was built. These colors are currently | ||
random, so they contain no semantic tagging. For example, in the above picture the hedge in the forground is made up of separate | ||
hedge segments so each segment gets a different color as a result, even though it is the same type of hedge. | ||
|
||
If you want your Unreal environment to provide colors that are meaningful, then override FlyingPawn::setupStencilIDs() function or | ||
assign proper values in CustomDepthStencilValue property in object browser window in Unreal Editor, then remove the random | ||
assignment that is happening in AFlyingPawn::setStencilIDs. | ||
|
||
## FPV View | ||
|
||
This view is simulating a fixed forward pointing camera on the drone. Note however, that this camera switchs places with the | ||
main game view if the user presses '[' or ']'. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters