How do you deal with this certain condition : Let's say you are in the middle of banked turn , rolled to your right and elevators are deflected . When it' s time to come out of the turn , I put my elevators back to zero , it immediately feels like a jerk . Which makes sense since I was going in circle a moment ago due to elevator deflection and now I'm not . Also when I come out of a banked turn without putting my elevators back to zero , I immediately start to pitch up rapidly ( because elevators are still deflected ) . I can't seem to find what stability system deals with this condition .
I'm afraid I haven't implemented any stability system that is specifically designed for that condition. My controller is extremely general and can be used for airplanes, rockets, and everything in between. Perhaps I will make it possible for the user to program their own controller in the future, but that will, unfortunately, have to wait a while. Right now I'm working on integrating my LOD planet with the vehicles.
@@simonholmqvist1951 I'm currently working on the rocket control systems, then I will try to add a simple planet for it to lauch from. The only issue is I don't know how to make an atmosphere for the planet, since I don't know anything about unity shaders. Any idea?
Shader Graph can do wonders. I'd suggest trying to learn it if you just care about the final product. Learning shaders is pretty fun though, so I'd suggest trying that if you want / have the time. Here's a cool video about a planet with an atmosphere: ua-cam.com/video/xms7rSraGYw/v-deo.html
@@cate01a yeah that’s actually what I did and it works, however I know that irl not all planes had a flight control computer, and they still did not wobble like that, so I don’t know what to do
@@plat216 maybe real life planes were designed smart: if the two wings are tilted up, the plane naturally corrects tilt. So you could probably do other smart designs that would make the plane self right itself and remain stable. Oh and stuff like having the center of lift above the center of mass improves stability too
From what i can see, your physics simulation is based on a table lookup system whereby you do not simulate airflow over the wings, but merely lookup lift tables. Its a start, it woukd be interesting jf you dive into more in depth physics algorithms.
Hello, thank you for your suggestion! There are ways to procedurally create the lift curves that I use in this video, but I haven't gotten around to implementing that quite yet. The lift curves give me the lift coefficient, which is one of the variables in the lift equation. It would be really cool to simulate the airflow more precisely, like in those airflow simulation softwares, but that would unfortunately be pretty heavy on the computer.
I like your video! as for the stabilization of flight im working on a PID controller just for that. Let me know if you need advice on how you could do it as-well!
Hey Man I am exactly at this position right now . After successfully implementing lift and drag on my control surfaces I am now stuck with the stability issue . Any change in the elevator sends my plane into tiny oscillations which have to be cancelled out manually . Can you provide me any resources or help as to how to kill these oscillations as soon as possible and hold the pitch of my aircraft where I actually want it to be . One thing I want to know about the PID controller . Let's say PID controller decides +10 degree deflection is needed in the elevator to counter oscillation AT THIS moment , won't the actuator / hydraulics which move the control surface to that position will take their own time ( maybe half a second or so ) and in the meantime since we are not at our correct elevator deflection condition , aircraft pitches even further away from the required . So this look like a never ending chase . How does PID controller account for this delay ?
@okay All Right I'm not familiar with the physical effect that keeps the aoa up during the stall. Could it just be due to stabilization software, something that fighter jets certainly have due to their instability? I've implemented a PID controller in my most recent version of the airplane which does keep the nose up when stalling. It seems logical that, if even the stabilators stall, the airplane would try to pitch down due to torque created by the drag on the rear control surfaces.
Jesus, it's like we are the same person. Whenever I get interested in something you make a video about it the next day. Thanks lol.
Great minds think alike ;)
Same
@@simonholmqvist1951 oof
Why485 made really impressive flight physics. And they are so simple, but its so hard to recreate them XD
How do you deal with this certain condition : Let's say you are in the middle of banked turn , rolled to your right and elevators are deflected . When it' s time to come out of the turn , I put my elevators back to zero , it immediately feels like a jerk . Which makes sense since I was going in circle a moment ago due to elevator deflection and now I'm not . Also when I come out of a banked turn without putting my elevators back to zero , I immediately start to pitch up rapidly ( because elevators are still deflected ) . I can't seem to find what stability system deals with this condition .
I'm afraid I haven't implemented any stability system that is specifically designed for that condition. My controller is extremely general and can be used for airplanes, rockets, and everything in between. Perhaps I will make it possible for the user to program their own controller in the future, but that will, unfortunately, have to wait a while. Right now I'm working on integrating my LOD planet with the vehicles.
Your videos are amazing! I'm also interested in aerospace engineering, and I really like Unity, programming and modeling!
Thank you Astrelix! Love your videos too :) How's your game coming along?
@@simonholmqvist1951 I'm currently working on the rocket control systems, then I will try to add a simple planet for it to lauch from. The only issue is I don't know how to make an atmosphere for the planet, since I don't know anything about unity shaders. Any idea?
Shader Graph can do wonders. I'd suggest trying to learn it if you just care about the final product. Learning shaders is pretty fun though, so I'd suggest trying that if you want / have the time. Here's a cool video about a planet with an atmosphere: ua-cam.com/video/xms7rSraGYw/v-deo.html
@@simonholmqvist1951 I will take a look at it, thanks
are we the same person? I'm doing Aerospace engineering next year in university.
how do i get this game!
github.com/Didgeridooblastblock/Physics-based-vehicles
It's barely a game at the moment but here's the source code :)
insane how damn common that model is in games. KSP, balsa flight sim, trail makers, etc. That wibble wobble is damn signature.
how to fix the wobble? doesn’t seem to be very apparent irl or any flight sim, not even in why485’s tiny arena combat
@@plat216 I'd guess giving the contral surfaces smart stability assist using a PID
@@cate01a yeah that’s actually what I did and it works, however I know that irl not all planes had a flight control computer, and they still did not wobble like that, so I don’t know what to do
@@plat216 maybe real life planes were designed smart: if the two wings are tilted up, the plane naturally corrects tilt. So you could probably do other smart designs that would make the plane self right itself and remain stable.
Oh and stuff like having the center of lift above the center of mass improves stability too
From what i can see, your physics simulation is based on a table lookup system whereby you do not simulate airflow over the wings, but merely lookup lift tables. Its a start, it woukd be interesting jf you dive into more in depth physics algorithms.
Hello, thank you for your suggestion! There are ways to procedurally create the lift curves that I use in this video, but I haven't gotten around to implementing that quite yet. The lift curves give me the lift coefficient, which is one of the variables in the lift equation. It would be really cool to simulate the airflow more precisely, like in those airflow simulation softwares, but that would unfortunately be pretty heavy on the computer.
hello, how to teach shooting with minigun machine gun and missile to helicopter with that green sight?
The ATPL training videos don't exist anymore. 😕
Shouldn't the tip of the plane be a bit more pointy?
Good point ;)
@@simonholmqvist1951 out. Now. The door is over there.
@@simonholmqvist1951 instead of releasing a source code ,canbu make a tut,I will be able to understand instead of just taking our work
Great! Good
I like your video! as for the stabilization of flight im working on a PID controller just for that. Let me know if you need advice on how you could do it as-well!
Awesome man, thank you! I'll let you know if (or rather when) I need some help :)
Hey Man I am exactly at this position right now . After successfully implementing lift and drag on my control surfaces I am now stuck with the stability issue . Any change in the elevator sends my plane into tiny oscillations which have to be cancelled out manually . Can you provide me any resources or help as to how to kill these oscillations as soon as possible and hold the pitch of my aircraft where I actually want it to be .
One thing I want to know about the PID controller . Let's say PID controller decides +10 degree deflection is needed in the elevator to counter oscillation AT THIS moment , won't the actuator / hydraulics which move the control surface to that position will take their own time ( maybe half a second or so ) and in the meantime since we are not at our correct elevator deflection condition , aircraft pitches even further away from the required . So this look like a never ending chase . How does PID controller account for this delay ?
Awesome video!
thank you för ingenting simon, sänk musiken för fan
;_;
it would be awesome if you can release the source code
btw it looks great
Thanks! The source code will be released with the next video :)
@@simonholmqvist1951 awesome I was hoping to implement some of your advanced physics into a godot space Sim I've been trying to work on
@okay All Right It has stall.
@okay All Right I'm not familiar with the physical effect that keeps the aoa up during the stall. Could it just be due to stabilization software, something that fighter jets certainly have due to their instability? I've implemented a PID controller in my most recent version of the airplane which does keep the nose up when stalling. It seems logical that, if even the stabilators stall, the airplane would try to pitch down due to torque created by the drag on the rear control surfaces.
@okay All Right Saw that video the other day and thought it was absolutely amazing! My next video will be quite similar to his.
This is like playing SimplePlanes but with extra steps lmao
Hello, are you swedish
Yes :)