Profile image

Autopilot Testing 1.1

19.2k klm747klm747  3.9 years ago

This plane will fly directly towards wright airport when AG1 is pressed. It will also lock you out of aileron control. The rudder has automatic dampening. I suggest spawning somewhere like Yeager approach. You must control your altitude yourself.


DO NOT GO INTO THE AILERON CODE.

Spotlights

General Characteristics

  • Created On Windows
  • Wingspan 39.8ft (12.1m)
  • Length 34.8ft (10.6m)
  • Height 13.0ft (4.0m)
  • Empty Weight 4,945lbs (2,243kg)
  • Loaded Weight 6,381lbs (2,894kg)

Performance

  • Horse Power/Weight Ratio 0.156
  • Wing Loading 15.1lbs/ft2 (73.7kg/m2)
  • Wing Area 422.7ft2 (39.3m2)
  • Drag Points 5678

Parts

  • Number of Parts 100
  • Control Surfaces 2
  • Performance Cost 448
  • Log in to leave a comment
  • Profile image
    19.2k klm747klm747

    Take off, fly the plane up to any altitude, then press 1. The airplane will fly to the Wright airport.


    DO NOT GO INTO THE AILERON CODE

    Pinned 3.9 years ago
  • Profile image
    19.2k klm747klm747

    @WiniMii it works fine, you need to control altitude yourself

    3.2 years ago
  • Profile image
    19.2k klm747klm747

    @se34ruy it works perfectly fine wth

    3.2 years ago
  • Profile image
    19.2k klm747klm747

    @se34ruy sure

    3.2 years ago
  • Profile image
    631 se34ruy

    btw i used the code from this on some of my aircrafts. is this ok for you? i will give credit

    3.2 years ago
  • Profile image
    19.2k klm747klm747

    @se34ruy if you have to go into it go ahead

    3.2 years ago
  • Profile image
    631 se34ruy

    whats the funkytrees code for the aileron

    3.2 years ago
  • Profile image
    19.2k klm747klm747

    @se34ruy what do you mean??? Let me check it out. This better work.

    3.3 years ago
  • Profile image
    631 se34ruy

    looks in aileron code then loads in "This Doesnt Work! What a waste of time!"

    3.3 years ago
  • Profile image
    4,589 Zerstorer

    I went to the aileron code
    Aaaaaaand I died of laughter as I saw it
    But the plane broke

    +1 3.5 years ago
  • Profile image
    19.2k klm747klm747

    New Feature! Make you own waypoint!


    ((clamp((deltaangle(Heading, (((270 - (atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE))))) * (clamp01(Longitude > (X COORDINATE)) * clamp01(Latitude > Y COORDINATE))) + ((abs(atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE)))) + 270) * (clamp01(Longitude > (X COORDINATE)) * clamp01(Latitude < Y COORDINATE))) + ((90 - (atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE))))) * (clamp01(Longitude < (X COORDINATE)) * clamp01(Latitude < Y COORDINATE))) + ((abs(atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE)))) + 90) * (clamp01(Longitude < (X COORDINATE)) * clamp01(Latitude > Y COORDINATE))))
    )), -5, 5) * clamp(((35 * clamp((abs(deltaangle(Heading, (((270 - (atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE))))) * (clamp01(Longitude > (X COORDINATE)) * clamp01(Latitude > Y COORDINATE))) + ((abs(atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE)))) + 270) * (clamp01(Longitude > (X COORDINATE)) * clamp01(Latitude < Y COORDINATE))) + ((90 - (atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE))))) * (clamp01(Longitude < (X COORDINATE)) * clamp01(Latitude < Y COORDINATE))) + ((abs(atan((Latitude - (Y COORDINATE)) / (Longitude - (X COORDINATE)))) + 90) * (clamp01(Longitude < (X COORDINATE)) * clamp01(Latitude > Y COORDINATE))))
    )) / 20), 0.1, 1)) - (abs(RollAngle))), -1, 1)) * clamp01(Activate1)) + (Roll * clamp01(-(Activate1)))


    substitute your waypoint coordinates into the aileron input and the plane flies to your new waypoint!

    3.9 years ago
  • Profile image
    19.2k klm747klm747

    @SPak It flies to the point and then circles afterwards, since there is no other point to go to. This is just a proof of concept!

    3.9 years ago
  • Profile image

    @KLM_747 yeah

    3.9 years ago
  • Profile image

    @SPak bruh

    3.9 years ago
  • Profile image
    930 SPak

    Can you make a plane that can fly straight? Because it can play formation

    3.9 years ago
  • Profile image

    Nice

    3.9 years ago
  • Profile image

    pipor cob with autopilot

    3.9 years ago
  • Profile image
    19.2k klm747klm747

    @XAircraftManufacturer Are you alright?

    3.9 years ago
  • Profile image

    @KLM_747 oh ok

    3.9 years ago
  • Profile image

    i went into the aileron code

    3.9 years ago
  • Profile image
    19.2k klm747klm747

    @MrShenanigans That's not the gyro actually, that's the aileron rotators doing the work. The gyro just helps the plane level out after a turn.

    3.9 years ago
  • Profile image

    @KLM_747 how do you make auto pilot gyros?

    3.9 years ago
  • Profile image
    19.2k klm747klm747

    @rexzion try and see, you'll need overload or some other XML editor

    3.9 years ago
  • Profile image
    44.3k rexzion

    why not go into the aileron code

    3.9 years ago
  • Profile image
    38.7k UltraLight

    @KLM_747 ohhh

    3.9 years ago
  • Log in to see more comments