Files
eskin-player/TOOLS.md
yanjie 2f16c4762f feat: 初始化 SCALE OS 工程框架
- 添加 SCALE Engine 配置 (.scale/)
- 添加 OpenClaw Agent 配置 (.openclaw/)
- 添加知识文档 (AGENTS.md, TOOLS.md)
- 添加质量契约和工作流配置
- 添加 22 个工作流模板
- 添加验证脚本和门控脚本
- 添加 skills-registry 技能注册表
2026-05-20 15:06:38 +08:00

62 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TOOLS.md — eskin-player 工具链文档
## 项目概述
**eskin-model-player** 是一个 Rust GUI 应用,用于 E-Skin 传感器数据的实时可视化。
- 框架eframe/egui + wgpuWebGPU
- 串口通信serialport crate
- 数据处理glam数学、bytemuck内存布局、crc校验
## 构建工具
| 工具 | 版本 | 用途 |
|------|------|------|
| Rust | 1.95.0+ | 主语言edition 2024 |
| Cargo | 1.95.0+ | 构建系统 |
| SCALE Engine | 0.21.2 | 工程约束与质量门控 |
## 项目命令
```bash
cargo build --release # 构建
cargo clippy # Lint
cargo test # 测试
cargo check # 类型检查
```
## 项目结构
```
eskin-player/
├── Cargo.toml # 依赖配置
├── src/
│ ├── main.rs # 入口
│ ├── app.rs # 应用逻辑
│ ├── ui.rs # UI 组件
│ ├── render.rs # 渲染
│ ├── connection.rs # 连接管理
│ ├── matrix.rs # 矩阵数据
│ ├── texture.rs # 纹理
│ ├── theme.rs # 主题
│ ├── utils.rs # 工具函数
│ ├── shader.wgsl # WebGPU shader
│ └── serial_core/ # 串口核心模块
│ ├── mod.rs
│ ├── serial.rs
│ ├── codec.rs
│ ├── codecs/
│ │ ├── mod.rs
│ │ └── tactile_a.rs
│ ├── frame.rs
│ ├── error.rs
│ └── utils.rs
├── static/ # 静态资源
├── .scale/ # SCALE Engine 配置
├── .openclaw/ # Agent 配置
├── AGENTS.md # Agent 知识文档
└── docs/workflow/ # 工作流模板
```
## 关键依赖
- **eframe 0.34.2** — 跨平台 GUI 框架wgpu 后端)
- **serialport 4.9.0** — 串口通信
- **glam 0.32.1** — 线性代数
- **crc 3.4.0** — CRC 校验
- **crossbeam-channel 0.5.15** — 无锁消息通道