feat(display): 增加中英文屏幕文字控制 API - #10
Draft
Mr-KID-github wants to merge 1 commit into
Draft
Conversation
新增 robot.display.show_text() 与 clear(),支持独立文字页、动画叠层、16/24/32 字号、RGB 颜色、对齐和自动换行。 严格校验 UTF-8 字节数、Unicode 字符数、控制字符与样式参数,并按 display.text、display.text.overlay、display.text.zh_cn 能力进行兼容性门禁。 补充协议、双语文档、示例及 API/NACK/旧固件回归测试。 配套仓库:orulink-ai/WatcheRobot_esp32 分支 codex/sdk-display-text。
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.
变更概述
robot.display.show_text()与robot.display.clear()持久显示 APIdisplay.text、display.text.overlay、display.text.zh_cn做能力门禁配套关系
配套固件 PR:orulink-ai/WatcheRobot_esp32#102。
验证
python -m pytest:125 passed,1 skippedpython -m mypy src/watcherobot:通过python -m build:sdist 与 wheel 构建通过待真机验收