心渐渐失空

导航

统计

anki vector源码浅试

vector-cloud编译

官方源码地址:

https://github.com/digital-dream-labs/vector-cloud

下载源码:

git clone https://github.com/digital-dream-labs/vector-cloud.git

登陆 docker hub,否则拉取编译镜像可能被限制流量而失败:

docker login --username=

拉取镜像:

make docker-builder

要是报错,可以修改/docker-builder/Dockerfile的镜像构建规则

在容器中编译:

make vic-cloud

make vic-gateway

 要是拉取依赖项timeout,需要调整网络并重试

vector编译

官方源码地址:

https://github.com/digital-dream-labs/vector

下载源码:

git clone https://github.com/digital-dream-labs/vector.git

目录说明:

drwxr-xr-x 9 root root 4096 Dec 29 15:00 3rd  第三方依赖库,想要编译成功,必须先安装完第三方依赖库
drwxr-xr-x 4 root root 4096 Dec 30 15:38 animProcess
drwxr-xr-x 6 root root 4096 Dec 29 15:00 cannedAnimLib
drwxr-xr-x 4 root root 4096 Dec 29 15:00 clad
drwxr-xr-x 2 root root 4096 Dec 29 15:00 crypto
drwxr-xr-x 3 root root 4096 Dec 29 15:00 cubeBleClient
drwxr-xr-x 2 root root 4096 Dec 29 15:00 dasmgr
drwxr-xr-x 10 root root 4096 Dec 29 15:00 docs    文档集
drwxr-xr-x 22 root root 4096 Dec 29 15:00 engine
-rw-r--r-- 1 root root 7669 Dec 29 15:00 LICENSE
drwxr-xr-x 2 root root 4096 Dec 29 15:00 osState
drwxr-xr-x 18 root root 4096 Dec 29 15:00 platform
-rw-r--r-- 1 root root 282 Dec 29 15:00 README.md
drwxr-xr-x 8 root root 4096 Dec 29 15:00 simulator
drwxr-xr-x 6 root root 4096 Dec 29 15:00 victor-clad
drwxr-xr-x 3 root root 4096 Dec 29 15:00 webServerProcess

编译:

生成依赖文件列表

python3  ../victor-clad/tools/build/tools/metabuild/metabuild.py -o ./ BUILD.in

将编译好的程序安装到anki vector机器人:

 

修改机器人功能代码的例子:

posted on   心渐渐失空  阅读(123)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
历史上的今天:
2021-12-30 开发感悟
点击右上角即可分享
微信分享提示