ceo: 完成configs迁移和main.rs插件注册

- 从旧项目复制dog_state_machine.json和cat_state_machine.json
- 实现main.rs完整插件注册(screen, wifi, video, ble, http)
- 添加命令行参数支持(--config, --validate)
- 实现Ctrl+C优雅退出
- 添加ctrlc依赖
This commit is contained in:
showen
2026-03-12 07:15:21 +08:00
parent 765e1f1a78
commit 0709d0de05
6 changed files with 2529 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rand = "0.8"
ctrlc = "3"
# 跨平台插件依赖
opencv = { version = "0.66", default-features = false, features = ["highgui", "imgproc", "videoio"] }