Stormworks: Build and Rescue

Stormworks: Build and Rescue

FCR1M1
4 Comments
猫好き  [author] 8 Feb, 2022 @ 10:41am 
ありがとうございます!カルマンフィルターについて調べてみようと思います。

Thank you! I will investigate the kalman filter.

(I used Google Translate.)
thatcoolcat1 7 Feb, 2022 @ 3:22pm 
you said that this isn't very accurate with range, maybe adding a kalman filter can help.

you can do this by using this function in lua

--kalman filter
data = coef * data + ( 1 - coef ) * oldData
oldData = data

--coef = 1 is no filter
--start with coef = 0.1 and make it bigger if too smooth, lower it when it shakes.
猫好き  [author] 7 Feb, 2022 @ 2:22am 
そうです。カメラがロールしてしまうと計算がうまくできないので、カメラを水平に保ち続けるようにしています。(見やすさのためも少しあります)

that's right. If the camera rolls, the calculation will not work, so I try to keep the camera horizontal. (There is a little for ease of viewing)

(I used Google Translate.)
repikj 6 Feb, 2022 @ 11:27am 
Hi, it's me again. Perfect work 4th time in a row! Been playing with your controllers last two weeks and nothing can beat them! Just one question:

Radar mount roll and pitch is needed for fully functional targeting, or this feature is for camera roll compensation only?

Once again thank you for your work!