facebookresearch / habitat-lab

A modular high-level library to train embodied AI agents across a variety of tasks and environments.
https://aihabitat.org/
MIT License
1.81k stars 460 forks source link

[Development] [WIP] Add new api for getting and setting object states which supports custom serialization #1975

Open MatthewChang opened 1 month ago

MatthewChang commented 1 month ago

Adds a new api for getting and setting object states which supports custom serialization

Motivation and Context

This will allow us to 1) query the state of a single object while still injecting the default value when necessary. and 2) Support compound/non-primitive state values for object states.

How Has This Been Tested

Unit testing

Checklist