(
self,
main_observation_type: str,
text_observation_type: str,
image_observation_type: str,
current_viewport_only: bool,
viewport_size: ViewportSize,
)
| 827 | """Main entry point to access all observation processor""" |
| 828 | |
| 829 | def __init__( |
| 830 | self, |
| 831 | main_observation_type: str, |
| 832 | text_observation_type: str, |
| 833 | image_observation_type: str, |
| 834 | current_viewport_only: bool, |
| 835 | viewport_size: ViewportSize, |
| 836 | ) -> None: |
| 837 | self.main_observation_type = main_observation_type |
| 838 | self.text_processor = TextObervationProcessor( |
| 839 | text_observation_type, current_viewport_only, viewport_size |
| 840 | ) |
| 841 | self.image_processor = ImageObservationProcessor( |
| 842 | image_observation_type |
| 843 | ) |
| 844 | self.viewport_size = viewport_size |
| 845 | |
| 846 | def get_observation_space(self) -> spaces.Dict: |
| 847 | text_space = spaces.Text( |
nothing calls this directly
no test coverage detected