草莓干 发表于 2020-12-25 16:58:28

当 Pando 遇到 Scratch3-Codelab,机器人觉醒了 ~

本帖最后由 草莓干 于 2020-12-25 16:58 编辑 <br /><br /><section style="margin-top: 5px; margin-bottom: 5px; padding: 1px; border: 1px solid rgb(182, 228, 253);"><section style="padding: 1px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style="padding: 15px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style=" color: inherit; border-color: rgb(182, 228, 253);"><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><span style=" border-color: rgb(182, 228, 253); color: inherit; font-size: 14px;"></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;">Explore Amazing Moment With Pando</span></strong></span></p><p><br/></p><p style="line-height: 1.75em; margin-bottom: 15px;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">Pando是由乐聚机器人研发,可以进行情感互动的益智编程机器人。主要功能包括情感交互、手势控制、自主避障、积木编程、动作编程、任务挑战、拟人步态等功能。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: center; white-space: normal; background-color: rgb(255, 255, 255); text-indent: 0em; box-sizing: border-box !important; overflow-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-family: 微软雅黑; letter-spacing: 0pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;"></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); text-indent: 0em; box-sizing: border-box !important; overflow-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-family: 微软雅黑; letter-spacing: 0pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: center; white-space: normal; background-color: rgb(255, 255, 255); text-indent: 0em; box-sizing: border-box !important; overflow-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-family: 微软雅黑; letter-spacing: 0pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;"></span></p></section></section></section></section><p><br/></p><section style="margin-top: 5px; margin-bottom: 5px; padding: 1px; border: 1px solid rgb(182, 228, 253);"><section style="padding: 1px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style="padding: 15px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style=" color: inherit; border-color: rgb(182, 228, 253);"><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><span style=" border-color: rgb(182, 228, 253); color: inherit; font-size: 14px;"></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;">Scratch3-Codelab</span></strong></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;"><br/></span></strong></span></p><p style="line-height: 1.75em; margin-bottom: 15px;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">Scratch3-Codelab是wwj718在Scratch3的基础上,集成EIM (Everything is Message)插件,配合codelab_adapter,就可以Scratch3 可以执行Python代码,这就赋予了Scratch3几乎无限的可能性。</span></p><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px; text-align: center;"></p><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><br/></p></section></section></section></section><p><br/></p><section style="margin-top: 5px; margin-bottom: 5px; padding: 1px; border: 1px solid rgb(182, 228, 253);"><section style="padding: 1px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style="padding: 15px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style=" color: inherit; border-color: rgb(182, 228, 253);"><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><span style=" border-color: rgb(182, 228, 253); color: inherit; font-size: 14px;"></span></p><p style="line-height: 1.75em;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 16px;">系统框图</span></strong></p><p style="line-height: 1.75em;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 16px;"><br/></span></strong></p><p style="line-height: 1.75em; margin-bottom: 15px;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">如果可以运行 Python 代码,那么理论上就能把任何智能硬件都接入Scratch3 当中,而且模块和插件越多,Scratch3 的玩法就越千变万化!</span></p><p style="line-height: 1.75em; text-align: center;"></p><p style="line-height: 1.75em; text-align: right;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 12px;">图片来源:&nbsp;techziffy.com</span></p><p><br style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;"/></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">作为一个少儿编程产品,孩子们的想象力其实是远远超过成年的工程师的,如果做到尽可能的开放,让他们去创造和探索机器人的功能,这将是一件非常有意思的事情。</span></p><p><br style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;"/></p><p style="line-height: 1.75em; margin-bottom: 15px;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">非常有幸邀请文杰来公司一起交流畅谈,被&nbsp;CodeLab&nbsp;万物积木化&nbsp;的想法深深吸引,第二天花了一些时间,参照&nbsp;Codelab-adapter&nbsp;文档,为Pando&nbsp;写了 Codelab 插件&nbsp;Pando Robot Extension&nbsp;,成功接入 Pando 到 Scratch3 当中。下面是系统框图:</span></p><p style="line-height: 1.75em; text-align: center;"><br/></p><p><br/></p><p><br/></p><p style="line-height: 1.75em;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">视频演示</span></strong></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">YouTube: 在 Codelab 中控制 Pando 机器人 By 神奇的战士</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">Bilibili: 在Codelab 中控制 Pando 机器人 By 神奇的战士</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;"><br/></span></p></section></section></section></section><p><br/></p><section style="margin-top: 5px; margin-bottom: 5px; padding: 1px; border: 1px solid rgb(182, 228, 253);"><section style="padding: 1px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style="padding: 15px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style=" color: inherit; border-color: rgb(182, 228, 253);"><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><span style=" border-color: rgb(182, 228, 253); color: inherit; font-size: 14px;"></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;">软件使用</span></strong></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;"><br/></span></strong></span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">MacOS/Linux</span></p><ul class=" list-paddingleft-2" style="list-style-type: disc;"><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">安装&nbsp;codelab-adapter 和使用说明</span></p></li><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">插件安装</span></p></li></ul><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">&nbsp; &nbsp; &nbsp; &nbsp;1.&nbsp;Pando 插件 extension_leju_pando.py</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">&nbsp; &nbsp; &nbsp; &nbsp;2. 蓝牙服务端&nbsp;pando_server.py</span></p><ul class=" list-paddingleft-2" style="list-style-type: disc;"><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">pip3 install pyzmq --user</span></p></li><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">安装&nbsp;Adafruit_Python_BluefruitLE</span></p></li></ul><p><br style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;"/></p><h3 style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">按键控制pando&nbsp;</span></h3><p style="line-height: 1.75em; text-align: center;"></p><p><br/></p><p><br/></p><h3 style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">微信遥控pando</span></h3><p style="line-height: 1.75em; text-align: center;"><br/></p><p><br/></p><p style="line-height: 1.75em; margin-bottom: 15px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">语音控制pando</span></strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;"><br/></span></p><p style="line-height: 1.75em; text-align: center;"></p><p style="line-height: 1.75em;"><br/></p></section></section></section></section><p><br/></p><section style="margin-top: 5px; margin-bottom: 5px; padding: 1px; border: 1px solid rgb(182, 228, 253);"><section style="padding: 1px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style="padding: 15px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style=" color: inherit; border-color: rgb(182, 228, 253);"><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><span style=" border-color: rgb(182, 228, 253); color: inherit; font-size: 14px;"></span></p><p style="line-height: 1.75em;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 16px;">更多玩法</span></strong></p><p style="line-height: 1.75em;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 16px;"><br/></span></strong></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">将 Pando 的运动功能封装成 Block,在 Codelab 平台上就能赋予其更多的 AI 能力,例如</span></p><ul class=" list-paddingleft-2" style="list-style-type: disc;"><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">人脸识别和手势识别控制 Pando</span></p></li><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">与 Pando 聊天对话</span></p></li><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">Pando 与任何智能硬件交互</span></p></li><li><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">更多有趣的玩法请参考演示视频</span></p></li></ul><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">https://codelab-adapter-docs.codelab.club/user_guide/gallery/</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">&nbsp;</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">我们相信,孩子的想象力是天马星空的,如果把学习一门编程语言的门槛抹平,他们将能创造出更多令人惊叹的作品。</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;"><br/></span></p></section></section></section></section><p><br/></p><section style="margin-top: 5px; margin-bottom: 5px; padding: 1px; border: 1px solid rgb(182, 228, 253);"><section style="padding: 1px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style="padding: 15px; border: 1px solid rgb(182, 228, 253); color: inherit;"><section style=" color: inherit; border-color: rgb(182, 228, 253);"><p style="color: rgb(5, 115, 175); border-color: rgb(182, 228, 253); letter-spacing: 2px;"><span style=" border-color: rgb(182, 228, 253); color: inherit; font-size: 14px;"></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;">参考链接</span></strong></span></p><p style="line-height: 1.75em;"><span style="font-size: 16px;"><strong><span style="font-family: 微软雅黑, Microsoft YaHei;"><br/></span></strong></span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">· Codelab Vector 插件</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">· Welcome to codelab-adapter</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;">· Adafruit_Python_BluefruitLE</span></p><p style="line-height: 1.75em;"><span style="font-family: 微软雅黑, Microsoft YaHei; font-size: 14px;"><br/></span></p></section></section></section></section><p><br/></p><link rel="stylesheet" href="//bbs.lejurobot.com/source/plugin/wcn_editor/public/wcn_editor_fit.css?v134_kKx" id="wcn_editor_css"/>
页: [1]
查看完整版本: 当 Pando 遇到 Scratch3-Codelab,机器人觉醒了 ~