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
This complicates reusing sensors for multiple interested clients (e.g. multiple agents.)
This also means that individual sensors have to sync back to the main process when dealing with the parallel processing of sensors.
The text was updated successfully, but these errors were encountered:
High Level Description
Sensors change their state in
sensors.observe(...)
. This mutability complicates management of sensors.Note the following that sensors observe:
SMARTS/smarts/core/sensors/__init__.py
Lines 253 to 267 in a93a6a9
SMARTS/smarts/core/sensors/__init__.py
Lines 455 to 479 in a93a6a9
Then pushes up to the SensorResolver interface:
SMARTS/smarts/core/sensors/local_sensor_resolver.py
Line 80 in a93a6a9
Then propagates up to sensor manager observe:
SMARTS/smarts/core/sensor_manager.py
Lines 106 to 121 in a93a6a9
Version
smarts==1.0.11
Steps to reproduce the bug
No response
System info
No response
Error logs and screenshots
No response
Impact (If known)
This complicates reusing sensors for multiple interested clients (e.g. multiple agents.)
This also means that individual sensors have to sync back to the main process when dealing with the parallel processing of sensors.
The text was updated successfully, but these errors were encountered: