Stormworks: Build and Rescue

Stormworks: Build and Rescue

51 ratings
FCR2M1 Fire control radar
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
152.752 KB
Feb 18, 2023 @ 12:14am
1 Change Note ( view )

Subscribe to download
FCR2M1 Fire control radar

Description
Features

About coordinates
ELI2 is in world coordinates
X represents east and west. East is the positive direction. It is the same coordinate system as the X of the GPS sensor.
Y stands for North and South. North is the positive direction. It is the same coordinate system as the Y of the GPS sensor.
Z stands for altitude. Up is the positive direction. It is in the same coordinate system as the altitude sensor values.

Output
Output ELI2.
numeric channel
1 Target X [m]
2 Target Y [m]
3 Target Z [m]
4 Target Vx [m/tick]
5 Target Vy [m/tick]
6 Target Vz [m/tick]
logical channel
1 detected

Operation
1 Turn on Power
2 Aim the radar at the target with WASD
3 When the red circle appears, press the Autoaim button (If you don't use Autoaim, there may be errors)
4 If Locked! is displayed, the target position and velocity are output to ELI2.


For other detailed operations and mechanisms, please watch the video.


Others
  • You can remodel it.
  • You may distribute it secondarily (if you modify it).
  • You can incorporate it.
  • You can make a video.
  • You don't have to get permission.
29 Comments
猫好き  [author] Feb 1 @ 8:48pm 
The new radar has noise, so there are errors in the position and speed output by FCR due to the noise. The red circle shown on the display does not have noise removed, so it is different from the actual output XYZ.
If you want to reduce the error, increase the value of the throttle lever called "Number of samples" (responsiveness will decrease).
Also, if you increase the control gain of the property, it may not lock properly.

(I used google translate)
猫好き  [author] Feb 1 @ 8:48pm 
新レーダーにはノイズがあるので、その影響でFCRが出力する位置や速度には誤差があります。ディスプレイに表示される赤い丸は、ノイズを除去していないものなので、実際に出力されているXYZとは異なります。
誤差を減らしたいときは「Number of samples」というスロットルレバーの値を増やしてください(そのかわり、応答性が低下します)。
また、プロパティのコントロールゲインを上げると、うまくロックできないこともあります。
kirbcake Feb 1 @ 3:14pm 
For some reason the lock is extremely jittery. Locking onto an object only a few dozen meters away, or several kilometers, results in the targeting reticle spazzing out at lightspeed in a radius around the target, resulting in the outputted x/y/z being useless.
tokagehausu Oct 19, 2023 @ 1:17pm 
本来の使い方とは違うかもしれませんが戦車で使わせて頂いてます
いい物をありがとうございます!!
Birdbrian Jul 3, 2023 @ 12:16am 
This is really great, thank you!
Hellcat Apr 10, 2023 @ 2:45am 
返答ありがとうございます!
その記述には気づきませんでした...必要になったら書き換えてみます
猫好き  [author] Mar 30, 2023 @ 10:29am 
ご報告ありがとうございます!
すみません説明文には書いてなかったのですが、サンプル数を301以上にすることを想定していなかったので、エラーになるようです。

より多くのサンプル数で使いたいときは、以下の2行を書き換えるとエラーにならないです。
上から1番目のLUAの15行目のMaxSample = 300
上から2番目のLUAの13行目のMaxSample = 300

例えば最大サンプル数を500にしたかったら、300を500に書き換えてください。
Hellcat Mar 29, 2023 @ 3:40am 
いつもお世話になってます1
標的をロックオンした状態で、サンプル数の値を60/s以上の速度で増加させると、

1. マイコン内の一番上のLUAブロックの123行目
2. 同じく上から2番目のLUAブロックの121行目
にて、
attempt to perform arithmetic on a nil value (field ?)
とのエラーが出るようです

サンプル数を増加させたことでロックが外れる...?が発生条件になりそうです
スロットルの感度下げれば解決しそうなので、それで対応します

ご存知かもしれませんが報告までに...
Pilot Feb 24, 2023 @ 2:46pm 
░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ THIS IS DOGE
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█ COPY AND PASTE HIM
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌ SO HE CAN TAKE OVER
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓▐ THE WORKSHOP
SonOfFire5 Feb 24, 2023 @ 12:22pm 
░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ THIS IS DOGE
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█ COPY AND PASTE HIM
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌ SO HE CAN TAKE OVER
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓▐ THE WORKSHOP