Example stitched image matrix from a set of region omnidirectional renderings:
How Has This Been Tested
Locally + CI tests
Types of changes
[Development] A pull request that add new features to the habitat-lab task and environment codebase. Development Pull Requests must be small (less that 500 lines of code change), have unit testing, very extensive documentation and examples. These are typically new tasks, environments, sensors, etc... The review process for these Pull Request is longer because these changes will be maintained by our core team of developers, so make sure your changes are easy to understand!
Checklist
[x] My code follows the code style of this project.
Motivation and Context
This PR adds a set of features to the DebugVisualizer along with a basic unit test.
dbv.equirect=True
orDebugVisualizer(sim, equirect=True)
to use an equirectangular sensordbv.remove_dbv_agent()
- clean up after dbv by removing the added agent/sensor. This is now also called on deconstruction.dbv.clear_color
- set the background color of dbv images (must be set before initialization).stitch_image_matrix
- stitches together a set of PIL Images into a single image matrix.Example Equirect Image from DBV:
Can be viewed in 3D with applications like https://arachnoid.com/3DViewer/![image](https://github.com/facebookresearch/habitat-lab/assets/1445143/e7af9e4b-fab8-4fff-885b-f54d66c5908e)
Example stitched image matrix from a set of region omnidirectional renderings:
How Has This Been Tested
Locally + CI tests
Types of changes
Checklist