Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Logic - GPS tracking automated searchlight
   
奖励
收藏
已收藏
取消收藏
标签: v0.2.42
文件大小
发表于
68.193 KB
2018 年 7 月 23 日 上午 11:46
1 项改动说明 ( 查看 )

订阅以下载
Logic - GPS tracking automated searchlight

在 Tajin 的 1 个合集中
Logic Examples & Knowhow
54 件物品
描述
Simple helicopter (PID based altitude hold included) that has a searchlight which always stays pointed exactly at a little GPS beacon.


The orange colored blocks are the mechanics of the searchlight.

The whole logic for it consists of merely 5 gates (20 blocks in total)
Green function (and black) - calculates bearing
Blue function (and black) - calculates distance
Pink function (and blue) - calculates angle
Yellow function - handles compass reading and generates control output for the pivot


Controls:
1 - Engine
2 - Hover
3 - Alt hold
6 - Toggle light
3 条留言
GoldenEye 2019 年 3 月 14 日 下午 4:52 
cool thanks
Tajin  [作者] 2019 年 3 月 14 日 下午 2:51 
Exact same thing, just feed it with a keypad instead of using a gps beacon.
GoldenEye 2019 年 3 月 14 日 上午 7:50 
can you make one that will stay on a waypoint?