You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which means entity_state will be 1 if the door is either open or locked, and 0 when it is closed but does not require anything to be opened. Is this the intended behavior? From my understanding of the docstring of the function, it should instead be something like:
Hi,
I think there might be a bug in
observations.symbolic
(https://github.com/epignatelli/navix/blob/main/navix/observations.py#L101), which makes locked and open doors have identical observations. Currently, the relevant lines that compute the observation (https://github.com/epignatelli/navix/blob/main/navix/observations.py#L132) are:Which means
entity_state
will be 1 if the door is either open or locked, and 0 when it is closed but does not require anything to be opened. Is this the intended behavior? From my understanding of the docstring of the function, it should instead be something like:which results in:
If this is the case, I can also submit a PR with a fix if needed. Thank you.
The text was updated successfully, but these errors were encountered: