@PlaneFlightX I guess I've found somewhat of a solution:
clamp((smooth((-PID(PitchRate, LimGoal, (KpPitch), (KiPitch), (KdPitch))), 3.5)), -1, 1)
.
KpPitch is ((IAS>230)? (0.004/(IAS/230)) : 0.012)
.
KiPitch is 0.02 (or any fixed value that works the best)
.
KdPitch is ((IAS>230)? (0.075* (IAS/230)) : 0.0225)
.
I kind of had to create a variable (named it PID) with the expression:
-PID(PitchRate, Pitch* 28, KpPitch, KiPitch, KdPitch)
.
I used that new PID variable to control yet another variable that I named "LimGoal" (which is used in my main code), LimGoal's expression is:
.
(PID>0.99) ? clamp((Pitch* 28), -28, 0) : ((PID<(-0.99)) ? clamp((Pitch* 28), 0, 28) : Pitch* 28)
that seems to have solved that windup problem. It causes some minor oscillations every now and then but I think I can solve that too
EDIT: that seemed to solve the windup problem but it still has other problems, needs a lot more factors to work properly
@PlaneFlightX I could use some help on how to do that. I've tried clamping the target value even though it's already limited. Also I'd need a negative target value in order to decrease its output since it acts more like sum(), so yeah. I'd appreciate it if you could advise me on how to do that
@Planemonster Damn bro I didn't realize how long its been. Yep, I'm alright. Yknow I'm not so active because of school and stuff but hopefully I'll be back eventually lol
@RandomUser09 Hey also, our new server is almost ready. Please don't treat me like a stranger because of this shit bro. It is my first time facing a back stabber
@Planemonster well
.
! [a] ( https://i.ibb.co/Sy4ZBYd/Ads-z.png )
.
you can put whatever you want instead of a. The rest is the same. You should put your image's link between () and with spaces. Link should end with .jpg .png or something
.
Delete the spaces between ! [a] ( btw. It should be like ![a]( the rest is the same with your own image's link
@PlaneFlightX I guess I've found somewhat of a solution:
clamp((smooth((-PID(PitchRate, LimGoal, (KpPitch), (KiPitch), (KdPitch))), 3.5)), -1, 1)
.
KpPitch is ((IAS>230)? (0.004/(IAS/230)) : 0.012)
.
KiPitch is 0.02 (or any fixed value that works the best)
.
KdPitch is ((IAS>230)? (0.075* (IAS/230)) : 0.0225)
.
I kind of had to create a variable (named it PID) with the expression:
-PID(PitchRate, Pitch* 28, KpPitch, KiPitch, KdPitch)
.
I used that new PID variable to control yet another variable that I named "LimGoal" (which is used in my main code), LimGoal's expression is:
.
(PID>0.99) ? clamp((Pitch* 28), -28, 0) : ((PID<(-0.99)) ? clamp((Pitch* 28), 0, 28) : Pitch* 28)
that seems to have solved that windup problem. It causes some minor oscillations every now and then but I think I can solve that too
EDIT: that seemed to solve the windup problem but it still has other problems, needs a lot more factors to work properly
@PlaneFlightX I could use some help on how to do that. I've tried clamping the target value even though it's already limited. Also I'd need a negative target value in order to decrease its output since it acts more like sum(), so yeah. I'd appreciate it if you could advise me on how to do that
@Skyler101 thanks for the spotlight, it's a bit too late though am I right? lol
@Delta7770 I'll see ya next time buddy, hope everything gets better for you. Take care
+1Goes well if you're building something futuristic imo
@Planemonster I've finished World at War and all OG Modern Warfare games, I also play CoDM sometimes
@Planemonster shii its actually quite nice to know that there are people genuinely waiting for me to return. Thanks a lot, man.
@Planemonster Nah mate, I'm still dead. I check the site every now and then but not that often
Don't worry, I'm planning to return again in a while
Stay safe 'till then, see ya later
@Planemonster yup, kinda
@Planemonster hmm I see. I'll try to be more active here then
@Planemonster I'm more active on Discord, if you wanna talk here, my name and tag is Lancelot#9423
@Planemonster Damn bro I didn't realize how long its been. Yep, I'm alright. Yknow I'm not so active because of school and stuff but hopefully I'll be back eventually lol
@Planemonster I'm kinda back and kinda not. Busy with school and some personal stuff
@oxvivxo
我看见。它太酷了
.
抱歉,我最近不会在这个网站上很活跃
Aight gimme Wyvern then lol
@RhinoSP Lol
What if I wanna be tagged on all of them?
.
Gimme mega T then
Gimme the biggest T you have!
+1Can I get a T? Also it looks really nice :)
+1@oxvivxo 是的,这很简单。谢谢
Everybody gangsta till he starts making double planes
+1@EverettStormy Aye bro its ok. Sometimes some problems occur about notifications lol
@Planemonster lol
@Planemonster Well yes I mean that. How the heck
Something's wrong, I can feel it
@MiiniWi thanks
Also, what mods are you using? I mean you are on android but it looks like you have graphics mod
I watched it bro and im waiting curiously :)
:)
@Tsuchiisan thanks for upvote. I know this sucks but anyways
@oxvivxo 谢谢你
@oxvivxo 感谢您的赞成票!别担心,没关系
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHH MY DUDE IS BACK
@tucan thanks
@SneakySniper thanks
@Delta7770 Yes bro!
@RandomUser09 Nah broo. Its fine. What happened if I fell in trouble for you? Its not a problem dude. Anything for my friend 👍
@RandomUser09 Lol ok man I will
@RandomUser09 Nevermind. But be sure it is not you! You are my friend not a back stabber
@RandomUser09 Oh aight man. I tought you were mad at me. Guess you're not so familiar with name changes eh?
@RandomUser09 Nooo you're not the backstabber!
@RandomUser09 Hey also, our new server is almost ready. Please don't treat me like a stranger because of this shit bro. It is my first time facing a back stabber
@Moonraker thanks bro
+1@RandomUser09 @Delta7770 thank you guys too!
@Moonraker Yes man its me!
+1Here you are moonraker. Found ya
+1@ExpmcTheGachaPlayer thank you :)
@TigerSharkSP thanks for the updoot :D
Sorry for the thiccnes its my first time
Sorry for the THICCness of the vid. Blame the "Medal" lol
@Planemonster well
.
! [a] ( https://i.ibb.co/Sy4ZBYd/Ads-z.png )
.
you can put whatever you want instead of a. The rest is the same. You should put your image's link between () and with spaces. Link should end with .jpg .png or something
.
Delete the spaces between ! [a] ( btw. It should be like ![a]( the rest is the same with your own image's link