SHENZHEN I/O

SHENZHEN I/O

评价数不足
Tesla Challenge 10: Surveillance Drone
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
2.289 KB
2017 年 4 月 8 日 上午 11:21
1 项改动说明 ( 查看 )

订阅以下载
Tesla Challenge 10: Surveillance Drone

在 89o 的 1 个合集中
SHENZHEN I/O Tesla Challenge Pack
24 件物品
描述
Subject: Replacement for security cameras
From: 张杰 <zhangjie@longteng-co-ltd.gd.cn>

Some thief discovered that our cameras (yes, the ones that YOU made) are fake. Because making real cameras is costly, instead of downsizing you I have decided that we create a drone capable of flying around each floor autonomously.

Jie.

---------

Small hint: Conditional instructions do not have to immediately follow test instructions.

Big hint: The simplest way to activate the motor with delay is:
teq p0 80 slp 1 + gen p1 1 0
(assuming p0 is connected to 'xray' and p1 is connected to 'motor')


Optimization tip: An AND logic gate might be useful to prevent the drone from reading commands while rotating.