Stormworks: Build and Rescue

Stormworks: Build and Rescue

Logic: Altitude hold example (PID based)
14 Comments
syrenevice 16 May, 2019 @ 11:46pm 
Nice and simple works.
It takes easy to understand.
Thanks!!
Sgt. Max Cockburn 19 Sep, 2018 @ 4:25am 
OK, I think I understand that.

Not sure what the "collective" represents, as I'm still unsure what several other concepts and modules represent. That makes it hard to figure stuff out.

I copied your system on my chopper and it works, just not sure why lol.

Thanks for your time.
Sgt. Max Cockburn 18 Sep, 2018 @ 9:33am 
And what does that accomplish? What's the reasoning behind "combining" the outputs? I'm completely stuck lol.

I more or less tried to replicate this just now, but it still doesn't do anything for me. I just have up/down fed into Add B, otherwise it's the same - just without the clam.

Tajin  [author] 18 Sep, 2018 @ 9:00am 
the "add" simply combines the output from the pid with the output from the pilot seat,
Sgt. Max Cockburn 18 Sep, 2018 @ 8:05am 
What is the use of the Add logic component? I think it's why I can't get my system to work.
SamuelPepys 30 Jul, 2018 @ 5:41pm 
Ah, ok. I got it, I just needed to adjust the PID values and the value being sent to the collective. I just put the differential up to super high levels (7 I think), the proportional quite low and then adjusted the clamp gate numbers down to make the helicopter not free fall once I used the keypad to enter a lower altitude. Everything works awesomely now!
SamuelPepys 30 Jul, 2018 @ 3:13pm 
Hi! The system makes the helicopter spin around violently and uncontrollably. I am using a keypad to control altitude, and I think it has to do with the speed that it tries to acchieve the altitude. Is there a way to reduce the speed of which it tries to compensate?
Tajin  [author] 30 Jul, 2018 @ 10:05am 
Logic in this one stores the current altitude in a memory gate. So just replace that with a keypad to enter your desired altitude.
MW-777 26 Jul, 2018 @ 7:12am 
is there a way of making it so i type an altitude i want and it takes me to it and holds that altituse?
if you know what i mean :)
PoyoSkytower 23 Jul, 2018 @ 5:02am 
ah i got you.
thank you :)
Tajin  [author] 23 Jul, 2018 @ 4:50am 
You will have to adjust the settings on the PID to suit your helicopter as the one in the example is very small and light. Yours will likely have different requirements.
PoyoSkytower 23 Jul, 2018 @ 4:42am 
i mean i copied your system onto my helicopter but it does not seem to be working :c
Tajin  [author] 23 Jul, 2018 @ 4:40am 
doesn't do that for me.

- Get in
- Turn engine on
- Enable hover
- Press W to get to desired alt
- Activate allt hold

Should be fairly simple.
PoyoSkytower 23 Jul, 2018 @ 4:34am 
Im not sure what im doing wrong here but using this example the helicopter just shoots right up on full throttle