habitat-lab
habitat-lab copied to clipboard
HITL - Add end episode form and error reporting
Motivation and Context
This changeset adds a modal dialog box for ending the episode.
It allows users to either:
- Signal the episode as successfully completed.
- Report a problem with the episode.
- The episode is considered as failed in this case.
- The user message is propagated to logs and collected data.
- Cancel and go back to rearrange.
https://github.com/facebookresearch/habitat-lab/assets/110583667/aa3718d7-d057-41d3-b16b-c6d958586967
How it works
The modal dialog box is a state machine. It emits events to signal that the state should be changed.
For context on how the new components work, see:
- Modal dialogues: https://github.com/facebookresearch/habitat-lab/pull/1956
- Textboxes: https://github.com/facebookresearch/habitat-lab/pull/1957
- Events: https://github.com/facebookresearch/habitat-lab/pull/1905
Notes
Depends on:
- https://github.com/facebookresearch/habitat-lab/pull/1967
How Has This Been Tested
Tested on multiplayer application.
Types of changes
- [Development]
Checklist
- [x] My code follows the code style of this project.
- [x] I have updated the documentation if required.
- [x] I have read the CONTRIBUTING document.
- [x] I have completed my CLA (see CONTRIBUTING)
- [x] I have added tests to cover my changes if required.