feat(entity): expose sensor and body tensor reads - #1720
Merged
TATP-233 merged 2 commits intoSep 29, 2026
Merged
Conversation
Collaborator
Author
|
Validation at head
Scope note: this adds the narrow public per-name Entity facade. Broad host-bridge Manager execution still needs the scene-level packed aggregation from these names and must not call this API per term. |
Collaborator
Author
|
Review-response update at
Remaining accepted follow-ups for the next slice rather than this PR: public UniSim sensor-name capability metadata, entity-qualified body alias negotiation, tensor phase-scoped caching, and the actual scene-owned packed host-bridge plan. |
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scope boundary
This is the narrow public Entity read API. Broad CPU host-bridge Manager execution must still aggregate these requests into one packed host-bridge plan; it must not call the per-name path from each term.
Validation
uv run ruff format src/unilab/base/entity.py tests/envs/mdp/test_joint_position_action.pyuv run ruff check src/unilab/base/entity.py tests/envs/mdp/test_joint_position_action.pyuv run mypy src/unilab/base/entity.pymake checkuv run pytest -q tests/base/test_entity_facade.py tests/envs/mdp/test_joint_position_action.py tests/managers tests/envs tests/tasks— 505 passed, 8 skippedCloses part of #1703