feat(capture): export config and cut over SharedCamera transport#205
Open
maxxgx wants to merge 2 commits into
Open
feat(capture): export config and cut over SharedCamera transport#205maxxgx wants to merge 2 commits into
maxxgx wants to merge 2 commits into
Conversation
Decorate camera drivers with @export_config, add transport builtin type mapping, and cut over camera publisher stdin envelopes to camera: ComponentConfig. Update SharedCamera.from_config() and the tutorial notebook SharedCamera usage for the new construction API. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 27, 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
@export_configand addscapture/transport/builtin.py.camera: ComponentConfig.SharedCamera.from_config()and tutorial notebook SharedCamera usage.Stacked on #204.
Note:
collect_train_deploy.ipynbis included here (not PR4) so pyrefly passes after the SharedCamera construction API change.Test plan
uv run pytest tests/unit/capture/test_camera_component_config.py tests/unit/capture/test_factory.py tests/unit/capture/test_transport.pyReview & merge order
PR #202 — Core config engine →
mainCore
physicalai.config(export, instantiate, validation)PR #204 — Robot drivers & SharedRobot transport
Robot config export and SharedRobot owner process startup
PR #205 — Camera drivers & SharedCamera transport (this PR)
Camera config export and SharedCamera publisher startup
PR #206 — Runtime, InferenceModel & CLI
End-to-end YAML,
physicalai run --config, examples, and user docsIn parallel: PR #203 — Component config design doc →
docs/designDetailed design doc; not blocking the code PRs