Profile image

terrain following

15.4k Reuben201103  4.8 years ago

Recently I’ve been working on a project which is a light attack aircraft which features a terrain following system, the issue is the way that we only have a funky trees value for altitude above ground and altitude above sea level which only measures the distance directly below the cockpit. As you may know some aircraft feature a TFR system which uses both a radar altimeter (AltitudeAgl) as well as a forward firing radar (which we don’t have an input value for). I’m just wondering wether anyone has any suggestions or ways to help me with this, I’ll upload the plane I’m working on with a link soon so people can test it and give feedback. Thank you

Link to aircraft

  • Log in to leave a comment
  • Profile image
    2,167 apfel33

    https://www.simpleplanes.com/a/kS2qip/Ground-Following-PID-2

    To put it bluntly, First value is your target, second is your variable you want to be at said target. Third is P, which is your main variable that controls how fast it gets to the target. No clue what I(4th variable) does. 5th is D, which dampens the like oscillation that P does, but too much D variable will make it's own oscillation@Reuben201103

    4.8 years ago
  • Profile image
    15.4k Reuben201103

    Could you post a link to yours so I can have a better understanding of it, I don’t really understand PID functions yet @apfel33

    4.8 years ago
  • Profile image
    2,167 apfel33

    I used a PID system to do that, though it does shake a bit when I combined it with pitch

    Sorry this is late, I was seeing if anyone had done the same

    4.8 years ago