找回密码
 立即注册
搜索
总共850条微博

动态微博

查看: 1881|回复: 4
打印 上一主题 下一主题
收起左侧

传感器的位置

[复制链接]

456

主题

1770

帖子

2万

积分

跳转到指定楼层
楼主
发表于 2005-8-24 04:30:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

假设一张圆盘像唱机上的唱盘那样转动。这张盘一半是黑色,一半是白色。假设你有数量不限的一些颜色传感器。要想确定圆盘转动的方向,你需要在它周围摆多少个颜色传感器﹖它们应该被摆放在什么位置﹖

www.ddhw.com

 
回复

使用道具 举报

10

主题

271

帖子

1996

积分

沙发
发表于 2005-8-24 18:21:07 | 只看该作者

answer


Two sensors are enough.  Put them side by side along any track, i.e., any circle on the disk with the disk's center as its center.  Say the sensors are A and B clockwise.  After both sensors pickup the same color, if A detects the change of color before B does, then the disk rotates clockwise.  Otherwise, the disk rotates counter-clockwise.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

210

主题

3101

帖子

8万

积分

板凳
发表于 2005-8-24 18:54:57 | 只看该作者

Agree. This is a nice answer.


  Agree. This is a nice answer.




回复 支持 反对

使用道具 举报

456

主题

1770

帖子

2万

积分

地板
 楼主| 发表于 2005-8-25 08:57:49 | 只看该作者

A good solution[@};-]


  A good solution




回复 支持 反对

使用道具 举报

213

主题

1162

帖子

1万

积分

5#
发表于 2005-8-25 09:00:58 | 只看该作者

[@};-][@};-][@};-][@};-]


  




回复 支持 反对

使用道具 举报

24小时热帖
    一周热门
      原创摄影
        美食美文
          您需要登录后才可以回帖 登录 | 立即注册

          本版积分规则

          Archiver|手机版|珍珠湾ART

          Powered by Discuz! X3 © 2001-2013 All Rights Reserved