Stormworks: Build and Rescue

Stormworks: Build and Rescue

Logic: GPS alignment
16 条留言
𐫱༺· V1RTU0US ·༻𐫱 7 月 29 日 上午 9:45 
well it just starts wildly spinning in circles and does nothing 💔
Tajin  [作者] 7 月 27 日 下午 2:52 
That seems unlikely given how primitive it is. And it's also rather irrelevant since this method is way outdated, from a time where advanced mathematic functions were not even available in the game.
𐫱༺· V1RTU0US ·༻𐫱 7 月 27 日 上午 11:42 
doesnt work anymore
Tajin  [作者] 2023 年 10 月 21 日 下午 12:54 
yes, trigonometry
AcePainter 2023 年 10 月 20 日 下午 8:14 
is there anyway to convert the two GPS coordinates into a single output, like a compass sensor outpuit?
Excalibur11 2018 年 5 月 3 日 下午 9:26 
you just need to decrease the proportional in the settings of the PID
kutyax 2018 年 4 月 21 日 上午 4:13 
thank you very much!
my idea was to use it as a control station for an rc plane, by putting a pilot seat to the rotating pivot, gps to the rc plane, so this way it would following the plane in azimuth.
actually the range is too small to realize the idea, do you think it can raised about 10-20 times more?
Tajin  [作者] 2018 年 4 月 20 日 下午 2:49 
go ahead, thats why i posted this example. So others can learn from it.
kutyax 2018 年 4 月 20 日 上午 11:45 
can i use it in my creation?
of course i will write your name there too.
Tajin  [作者] 2018 年 4 月 20 日 上午 11:40 
Depends only on how much the variables can handle. Never tested that in detail.
kutyax 2018 年 4 月 20 日 上午 11:30 
very nice creation.what about the range? dozen meters? hundreds?kilometers?
TT 2018 年 4 月 13 日 上午 11:10 
It's a neat way of doing the job. As said sure it does get unstable at distance, but with only a clamp added it's pretty good.
Tajin  [作者] 2018 年 4 月 3 日 上午 12:29 
Yeh this example was never tuned for longer distances but that is absolutely doable and works fine on the rifter.

If REAAALLLY long distances are still a problem you could also try substract the 2 distances to get the difference, clamp it and use a setpoint of 0.


Those are the finer details, the main point to this is, that this technique works and is generally a lot more compact than any other attempt I've seen.
Sharp777 2018 年 4 月 2 日 下午 2:44 
Having said that changing the PID - porportional and Deriative changes its range considerably. Anyway thanks for doing this
Sharp777 2018 年 4 月 2 日 下午 1:25 
Unfortunately this only works at short range. At longer ranges the pivot just spins round and round not finding its centre
Excalibur11 2018 年 4 月 1 日 下午 4:23 
Wow, you beat me to it