Stormworks: Build and Rescue

Stormworks: Build and Rescue

Autopilot Altitude Control
37 条留言
sealon_musk 6 月 15 日 上午 4:58 
awesome, for those who's plane wiggles up and down a lot, decrease VspdPterm
mikeyurenia 2024 年 7 月 21 日 下午 8:15 
Is it possible to make a submarine version of this? pls
NightArmer32 2024 年 2 月 8 日 下午 7:27 
this might be a stupid question but if i was to put this on a sub how do i get it to like go below 0. ive already put it on a sub and try many different depth controls but theyre too erratic hopping to find something smooth
Leanier  [作者] 2023 年 12 月 11 日 下午 3:31 
Can you see if the small control surfaces are deflecting properly? (aka to climb and the flip the other way past the altitude? or if they are moving at all? It could be inverted, and thus trying to control the wrong direction
Rokify 2023 年 12 月 9 日 下午 4:26 
hey, i have a question... ive connected everything up and put different control surfaces right underneath my mai ones. whe i turn the AP on, the plane goes to the altitude but just keeps going after, for example if i am at 90 meters and set the altitude on my small keypad to 300meters, it climbs to 300 but doesnt stop and continues going infinitly

ive messed a bit with the values of the clamp and the VspdPtern and AltPtern but nothing changes.
Leanier  [作者] 2020 年 5 月 30 日 上午 7:54 
It goes to either your control surface. Or an add block then your control surface if you are using the same surface as your main controls
SQUIDY 2020 年 5 月 30 日 上午 5:05 
What does control out go to??
Tesla 2020 年 3 月 21 日 下午 4:35 
That seems to do it. It'll follow my desired vertical speed now. Thank you so much for responding !
Tesla 2020 年 3 月 21 日 下午 4:29 
Thanks man. Yeah i ended up using this MC for my release, both of my releases actually because it is so accurate. But i'll check the clamp in the MC.
Leanier  [作者] 2020 年 3 月 21 日 下午 2:33 
Adjusting the clamp is the correct way to set it, it is set to +- 30 right now. There didn't seem to be an easier way to tune that.

Go ahead and use it!
KanaSalaatti 2020 年 3 月 21 日 上午 3:11 
Cool! Mind if I use this in my creation?
Neottious 2020 年 3 月 21 日 上午 3:09 
Adjust the clamp inside the microcontroller.
Tesla 2020 年 3 月 12 日 下午 8:14 
I see that i didnt completely explain my question; During altitude change, the vspeed has a limit of 30ms. Is there any way to change that to say max 15ms?
Tesla 2020 年 3 月 11 日 上午 5:05 
Hey thanks man, this works like a charm. It follows the altitude to the digit.
Just if i understand this correctly, i have a fairly big aircraft im using this MC on, and my VspdPTerm is currently 0.5. Do i increase it or decrease it in desimals due to the size ?
(OTR) 0xferd™ 2019 年 8 月 15 日 下午 6:26 
ok thanks just making sure if it worked.
Leanier  [作者] 2019 年 8 月 15 日 下午 6:25 
It does yes, might take some tweaking depending on the plane. Such as what I did for TheVortex
(OTR) 0xferd™ 2019 年 8 月 11 日 下午 7:53 
so this microcontroller will function correctly?
because i need a alt hold for my plane that works correctly.
TheVortex22 2019 年 7 月 20 日 下午 10:57 
Thanks it works great now!
Leanier  [作者] 2019 年 7 月 20 日 上午 7:25 
I got it to work on your plane, here are the steps it needed:
1) Change the vspd to a speed sensor set to only output "Vertical"
2) Add an invert block between the AP and the ADD block
3) on the AP block change: VspdPTerm to .02 and the AltP to 0.5

The last two are to desensitize the autopilot due to the large control surfaces that you have
Let me know if you still can't get it and I could upload a working version.
TheVortex22 2019 年 7 月 17 日 上午 10:15 
Here is my plane if you would like to take a look at it, https://psteamcommunity.yuanyoumao.com/sharedfiles/itemedittext/?id=1806493221
TheVortex22 2019 年 7 月 13 日 下午 10:39 
It will go in the direction of the altitude but cant hold it, it keeps going up and down and eventually crashes
Psycho Ruby 2019 年 7 月 13 日 下午 1:32 
No it's fine you don't need to.
Leanier  [作者] 2019 年 7 月 13 日 上午 9:14 
Billy, are you trying to use it for the helo while hovering? This one is generally designed for forward motion (planes or helos with elevator contol). If I get a chance I can try to see what I would need to do for actual helo hover control
Leanier  [作者] 2019 年 7 月 13 日 上午 9:13 
Is it going the correct direction? IE, is vertical the right direction for the altitude it is trying to hold? If not the output might need to be reversed for your design. Otherwise, you can multiply the output by a smaller number to reduce the overall control its allowed (there are ways to do this in the AP block itself if needed)
TheVortex22 2019 年 7 月 11 日 下午 7:05 
Hi, my plane goes vertical when engaging the auto pilot, now I know you said use smaller elevators but that wont work with my current design. Any ideas?
Psycho Ruby 2019 年 7 月 10 日 下午 5:08 
Im using this for a heli do you know how to get it to work then? Here is the heli if that helps. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1764698592
Leanier  [作者] 2019 年 7 月 10 日 下午 2:18 
That connects to your autopilot trim tab for controlling the pitch of the aircraft. Alternately, it can connect to an add block and then go to your main elevator control surface, but I find autopilots in general are more stable controlling a smaller elevator of their own.
Psycho Ruby 2019 年 7 月 10 日 下午 12:50 
What does the "Control signal output" connect to?
Leanier  [作者] 2019 年 6 月 23 日 下午 1:48 
Generally if it over reacts your autopilot trim tabs are to large, and either you need to desensitize the AP or reduce your flight control authority.
Leanier  [作者] 2019 年 6 月 23 日 下午 1:45 
Yep using them is fine with credit
modelmaker 2019 年 6 月 15 日 下午 8:31 
my plane goes straight up or down
Dr. Lector 2019 年 6 月 14 日 上午 5:13 
Hello Leanier, I am using your Altiude hold controller in a few of my creations. Will you be oke with me uploading these to the workshop? Of course I will be crediting you.
TechRaptorJay 2019 年 5 月 10 日 上午 4:23 
the plane is called A02a Heron by White_Noise
Leanier  [作者] 2019 年 5 月 9 日 下午 9:04 
Some of that can have to do with plane design, if your center of pressure and CG aren't correctly aligned. Also, sometimes if the plane is twitchy giving the AP smaller control surfaces can help. Feel free to upload the plane and I can take a look at it.
TechRaptorJay 2019 年 5 月 9 日 上午 8:09 
it makes my plane do flips im trying to find an altitude hold that makes a plane stable and not to make its controll surfaces spaz out.
WoodenPlankGames 2019 年 1 月 10 日 下午 3:46 
oh wait i'm stupid just use gyro
WoodenPlankGames 2019 年 1 月 10 日 下午 3:45 
how do i make it not go vertical? my plane stalls when you do that.