clamp((Trim-PitchRate/5)/20*clamp01(smooth(Pitch,1)=0)+
smooth(sign(Trim-PitchRate/5)*clamp01(TAS>5),abs(Trim-PitchRate/5)/2
*clamp01(smooth(Pitch,1)=0)*clamp01(TAS>5)+clamp01(TAS<5)),-1,1)
try this. another type of PID but replace sum() with smooth(sign(target-current),abs(target-current)) to prevent overvalue
@Baldeagle086 clamp01(PID(smooth((Throttle-Brake)*clamp01(Activate1),0.25),rate(Altitude)/5*clamp01(Activate1),1,1,0)*clamp01(Activate1)+Throttle*clamp01(-Activate1))
I use this on my harrier try it
@exosuit I'm still trying to find the way to make a stabilizer code its a little bit hard and different when you attach the cockpit on the gun or the hull
m^ηGθM∑ⅰ§τ∃Γ¹Θ₂Ⅳ==>Mangomaster1024
+4that's my discord name. so glad that my code can help you.
me a FTer:
+1define G=9.80665 in every aircraft uses G limiter and cannon fire control system
why not just land on it?
+3
+4clamp((Trim-PitchRate/5)/20*clamp01(smooth(Pitch,1)=0)+
smooth(sign(Trim-PitchRate/5)*clamp01(TAS>5),abs(Trim-PitchRate/5)/2
*clamp01(smooth(Pitch,1)=0)*clamp01(TAS>5)+clamp01(TAS<5)),-1,1)
try this. another type of PID but replace sum() with smooth(sign(target-current),abs(target-current)) to prevent overvalue
@YourAlly no
+2heading for guns doesn't work
@Baldeagle086
+2clamp01(PID(smooth((Throttle-Brake)*clamp01(Activate1),0.25),rate(Altitude)/5*clamp01(Activate1),1,1,0)*clamp01(Activate1)+Throttle*clamp01(-Activate1))
I use this on my harrier try it
new:G limited Pitch control
+1@LUFTWAFFALES thanks
my FTs about flight control this might help you
+1this
same problem, math sucks
@LegendIndustries22 yes you can use these on your planes
NEW:Auto Turret
NEW:Heli hover
跟MV作比對之後嚇得我都打中文了 怕爆
NEW:VTOL engine control
NEW : new version of range adjustment code. It should be more accurate on cannons
@exosuit I'm still trying to find the way to make a stabilizer code its a little bit hard and different when you attach the cockpit on the gun or the hull
@scratch that clamp is for the range of gun turning angle if it's -1,1 yes you can remove it if not it's required
@CRJ900Pilot I got same problem too I don't know how to solve it so I use gyroscope to make it
rate(abs(smooth(LandingGear,1)))
+1try it
2 K 土 5% r e s i s t o r
laser can only work in gun mode can you fix it?
chopstick!
how to use this?
this is the most stable helicopter i have ever drove I LIKE IT SO MUCH
by the way it can float on water
@CrazySniper3000 thank you so much