基于Arduino的两臂解魔方机器人

2018-09-13 11:22:00李泽萱滕旭阳郑艺彬唐日成徐欢潇
电脑知识与技术 2018年17期

李泽萱 滕旭阳 郑艺彬 唐日成 徐欢潇

摘要:该设计以层先法作为基础算法,将魔方以面、颜色、位置(二维数组)三个基本属性进行存储,通过调用设计的六个基本动作进行“底部十字”“底角还原”“中棱还原”“顶面十字”“顶角面位”“顶角还原”“顶棱还原”七个还原步骤,输出得到还原序列。最后该设计优化了操作面的问题,调用了设计的四套基本动作,最终完成魔方的还原。

关键词:算法设计;单片机算法;解魔方算法;机器人算法

中图分类号:TP312 文献标识码:A 文章编号:1009-3044(2018)17-0248-03

Abstract: This design takes the first method as the basic algorithm, and stores the magic cube with three basic attributes of surface, color and position(two-dimensional array).By calling the six basic movements of the design, the seven restoration steps of” bottom cross” ”bottom angle restoration” ”middle prism restoration” ”top cross” ”top angle surface”” top angle restoration” are carried out. Finally, this design optimizes the operation surface problem, calls the four basic actions of the design, and finally completes the restoration of the Rubiks cube.

Key words: algorithm design; single chip algorithm; magic square algorithm; robot algorithm

在市場和政策的双重利好下,国内机器人市场迅速升温,机器人产业可谓迅猛发展。如今由一开始的多达95%的工业应用扩展到更多的非工业应用。例如做手术,采摘水果,巷道掘进,侦察,排雷,还有空间机器人等等,只要是能想到的,就可以去创造去实现。

机器人技术的发展,它应该说是一个科学技术发展共同的一个综合性的结果,也同时,为社会经济发展产生了一个重大影响的一门科学技术,它的发展归功于在第二次世界大战中,各国加强了经济的投入,就加强了本国的经济的发展。同时,科技的发展也是人类发展的一个必然结果,机器人技术当然也就是科技发展的一项产物。另一方面,这些也是人类生产力需求下的必然结果,随着社会的发展,对这个世界,对自然的更多的认识,在人力不可达到不可完成的对自然改造的情况下,科技发展,机器人技术的发展就成为人类的一个客观需要。……

登录APP查看全文