找回密码
 马上注册

QQ登录

只需一步,快速开始

查看: 10335|回复: 5

ev3 家庭版 31313 解魔方成功【心得】

[复制链接]
发表于 2017-1-14 20:28:38 | 显示全部楼层 |阅读模式
本帖最后由 pal_liu 于 2017-1-14 20:44 编辑

刚入ev3家用版的第一个作品就是解魔方机器人

ev3

ev3


期间遇到扫描失败的问题,后经过查阅资料后发现与购买的魔方有关
If MindCub3r attempts to scan the cube 3 times and displays the message "Scan error" the following tips may help.
  • MindCub3r is designed to work with an official Rubik's Cube branded by Rubik's. However, it should work with most cubes provided one set of stickers is white and the others are distinct colors. It is optimized to work with white, yellow, red, orange, green and blue stickers.
    NOTE: cubes with very bright, vivid, "fluorescent" stickers may not scan reliably because the LEGO color sensor can return similar values for colors that look different to us. If none of the other tips help and you think this may be an issue, please consider replacing the stickers with more conventional colors or try an alternative cube.
这是官方原话,大致就是说扫描魔方的颜色为白,黄,红,橙,绿,蓝,6个颜色,表面太亮会影响识别。
于是我就换了57mm磨砂表面(由于磨砂表面的贴纸相对较厚不容易被底色混淆)黑色\白色底的魔方淘宝价格7.90-9.90马上就成功了
程序版本MindCub3r-v2p1.ev3
附上我做的一个颜色识别的小程序,把魔方放在托盘上将颜色传感器调整到魔方色块上方识别成的颜色会用英语读出来
color read.ev3 (44.07 KB, 下载次数: 78)
祝大家成功!




如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
发表于 2017-1-15 00:58:52 | 显示全部楼层
楼主 我用的是v2p1的教育版 麻烦老师截图一下如何把您这个程序添加进v2p1里面
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

 楼主| 发表于 2017-1-29 21:49:47 | 显示全部楼层
本帖最后由 pal_liu 于 2017-1-29 21:51 编辑
天平 发表于 2017-1-15 00:58
楼主 我用的是v2p1的教育版 麻烦老师截图一下如何把您这个程序添加进v2p1里面

不是添加进解魔方程序的哦,是一个独立的程序,另行导入另行运行的哦

如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

发表于 2017-2-2 15:58:26 | 显示全部楼层
楼主,能否把操作步骤写一下
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

发表于 2018-2-24 16:49:49 | 显示全部楼层
麻烦老师给个魔方的淘宝链接。我买了3个了。都还原不了。程序一直报错,按着图纸装了好几遍,结构没问题,程序也没问题。估计就是魔方的问题。一直识别不了
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

发表于 2018-5-17 14:38:49 | 显示全部楼层
楼主,能否把操作步骤写一下
如果您觉得我的帖子对您有用,请不吝给我一个“赞”!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

QQ|手机版|中文乐高 ( 桂ICP备13001575号-7 )

GMT+8, 2024-4-25 06:56 , Processed in 1.226885 second(s), 27 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表