1 / 6

虚拟机器人

海盐县实验中学 2013 校本课程. 虚拟机器人. 第 6 课 机器人迷宫灭火. 2013 年 5 月 20 日星期一. 回顾:左手法则走迷宫. 左手法则:机器人左手摸着墙壁. 1. 闭上眼睛模仿瞎子走路,总结瞎子走路的策略。 2. 左右摸墙走的策略: 检测判断一: 左边有墙壁 — 向右前方走一步 左边没墙壁 — 向左前方走一步 检测判断二: 前方有墙壁 — 向右转. 任务一:红外靠右走迷宫. 1. 思考靠右走的策略。 2. 设计红外靠右走的机器人程序。 3. 运行程序,到终点记下时间,举手。

mircea
Download Presentation

虚拟机器人

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 海盐县实验中学2013校本课程 虚拟机器人 第6课 机器人迷宫灭火 2013年5月20日星期一

  2. 回顾:左手法则走迷宫

  3. 左手法则:机器人左手摸着墙壁 • 1.闭上眼睛模仿瞎子走路,总结瞎子走路的策略。 • 2.左右摸墙走的策略: • 检测判断一: • 左边有墙壁—向右前方走一步 • 左边没墙壁—向左前方走一步 • 检测判断二: • 前方有墙壁—向右转

  4. 任务一:红外靠右走迷宫 • 1.思考靠右走的策略。 • 2.设计红外靠右走的机器人程序。 • 3.运行程序,到终点记下时间,举手。 • 思考,尝试,完成这个任务。

  5. 任务二:迷宫灭火 • 1.测试亮度检测模块。 • 2. 红外走迷宫程序(右手法则),边走边进行亮度检测,检测到蜡烛立即停止。 • 3.运行程序,调试完善。 • 思考,尝试,完成这个任务。

  6. 今天任务 • 1.练习:任务一右手法则走迷宫。 • 2.作业:任务二迷宫灭火。 • 保存到桌面,上传、上交!

More Related