{{ message }}
Add camera hub TTS and pan-tilt MOD - #645
Draft
meganetaaan wants to merge 3 commits into
Draft
Conversation
Contributor
Cloudflare PR previewOpen the latest preview for commit Immutable deployment: https://add3dfce.stack-chan-pr-preview.pages.dev Warning Pull request previews contain untrusted web and firmware code. Review the changes before granting WebSerial/Bluetooth permissions or flashing a device. |
Collaborator
Author
|
@coderabbitai review |
Contributor
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.

What
tts.speakandpanTilt.movecontext.audio.say()providercontext.motion.setPose()body posesArchitecture
Camera Hub command interpretation is application-specific and now lives entirely under
firmware/mods/examples/camera_hub_commands.A future generic
moddable-tailscalewrapper may live under the hostcontext.connectivitynamespace and own Tailnet startup, MagicDNS, WebSocket transport, reconnect, and lifecycle. The MOD will consume that transport and remain responsible for JSON command semantics and mapping commands to Stack-chan audio/motion capabilities.This PR does not add the Tailnet transport yet. The current MOD exposes
executeCameraHubCommand()as the protocol boundary and does not connect to the hub by itself.Impact
Release impact: minor for the new sample MOD. Existing host capabilities and runtime composition are unchanged.
Changeset:
.changeset/private-camera-hub-commands.md.Checks
npm run format -- --write mods/examples/camera_hub_commands: passesnpm run lint -- mods/examples/camera_hub_commands: passes with one pre-existing informational finding outside this MODnpm run check:architecture: 74 passednpm run mod:build -- m5stackchan_cores3 ./mods/examples/camera_hub_commands/manifest.json: passedThe first Linux smoke attempt did not reach the host-ready marker and had no exception log. Re-running the same job without code changes passed both smoke targets, confirming a transient mcsim startup failure.