Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
PPI Radar Display
   
奖励
收藏
已收藏
取消收藏
Vehicles: Air, Sea, Land
标签: v1.7.7
文件大小
发表于
更新日期
186.003 KB
2023 年 5 月 28 日 上午 10:56
2023 年 5 月 28 日 上午 11:38
3 项改动说明 ( 查看 )

订阅以下载
PPI Radar Display

描述
Configurable PPI radar display microcontroller.

Feel free to use this code and microcontroller, but please give credit and don't reupload it unless you contributed to it or it's part of a larger craft that uses it. Thanks.



Available options:
  • Max elevation change for colour difference: Height of a target relative to the radar to change its colour to differentiate between targets above and below the radar
  • Variable scale: Display can zoom in or out
  • Distance labels: Number of distance labels
  • Distance text: Show or hide distance label text
  • Trim: If enabled and the radar can only look a maximum of 90 degrees in either direction, it will only display an enlarged version of the top half of the circle (see image 2)

Features:
  • All of the options above
  • Optional touchscreen target selection: Output data on a target by selecting it on the display
  • Target blips persist until the radar scans over the blip again
  • Automatic adjustments for radar scan speed
  • Automatic adjustment for display size (works for any size, however 1:1 or sometimes 2:1 aspect ratio preferred)



Usage:
To use, configure all of the options mentioned previously and match the max range, X FOV, sweep, and sweep limit parameters to that of the radar and connect all relevant inputs and outputs.
7 条留言
Fjorge  [作者] 2023 年 8 月 29 日 下午 12:55 
@Swedenhero_07 unfortunately I won't have access to a computer that can run Stormworks for a while so I can't really help you or even test to see if the radar display still works. Sorry about that.
Swedenhero_07 2023 年 8 月 21 日 下午 12:34 
my radar display (well yours) doesnt seem to work. i have connected everything even tho i am not sure i understand the scale nod and my display is just stuck in one place. can you please help ? @fjorge
Fjorge  [作者] 2023 年 7 月 14 日 上午 10:12 
@the silent one You don't need to connect it to anything unless you have a tracking radar. If you do, then you can use that node to point it in the direction of the target you select using the touchscreen (you can disconnect the touchscreen data node to disable this) to have it begin tracking.
Fjorge  [作者] 2023 年 7 月 14 日 上午 10:09 
@Palkia I originally custom-made this for a vehicle I was making and thought that it would be fun to make it more configurable, which is why the cropped sweep setting isn't that great because I didn't really need it on the vehicle I was making. I'll consider adding more scope types but no promises due to the same reasons I just talked about before.
The Silent One 2023 年 7 月 12 日 下午 9:38 
where do i put the target data node?
Palkia 2023 年 7 月 9 日 上午 12:57 
If you want to make C scope mode, you can use the radar controller I made as a basis and use it as you want.
Palkia 2023 年 7 月 9 日 上午 12:52 
you did very well. Sweep mode also doesn't seem to fit on a 3x3 screen. Although I have made one myself, it would be great if you make a C scope mod for this radar, it is more logic circuits than the lua I made, and it works a little poorly.