Vizzy For Dummies: Pt. 6 Autoland and Hover

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • Find the craft and script used in this video here!
    www.simplerock...
    Become a Channel Supporter!
    / @deltlead
    Join the ISS Discord!
    / discord
    Join the SimpleRockets Chat Discord!
    / discord

КОМЕНТАРІ • 39

  • @auselessnoob-xw2dc
    @auselessnoob-xw2dc Рік тому +5

    Hi, ‘s me again. Punched in the auto land script and wanted to suggest a couple of improvements to it - hope you don’t mind, and hope that it helps other Vizzy knuckleheads like myself 🤣
    1) I added a third routine that just calculates suicide burn altitude and displays it, so you can check if you’re screwed or not without initiating a burn
    2) Instead of a manual throttle “fudge factor,” I added another variable to specify the spool time of your engine, multiplied by current vertical velocity. It doesn’t exactly match the kinematic profile since engines don’t wait at 0 until the spool time elapses then go to full power, but it gives you enough buffer to make sure you don’t crater your rocket without having to make up a fudge factor for each case.
    3) If you divide the result of your kinematic equation by your current AGL and set your throttle to that, it will initiate a long burn/gradual descent, for those situations when it’s not desirable to wait until the last second and burn like crazy. In atmosphere this results in somewhat increased fuel consumption since the atmosphere would normally soak up some of your gravitational potential energy at higher speeds, though in a vacuum I imagine the fuel profile is closer to a suicide burn.
    4) If you divide *that* whole mess by sin(pitch), taking care to use the deg2rad function to convert the output of the pitch function to radians, you basically peel out the vertical component of your thrust and increase your throttle accordingly. This only works if you lock heading to retrograde, otherwise you’d have to calculate the retro angle yourself, as I don’t think there’s a built in function to tell you.

  • @auselessnoob-xw2dc
    @auselessnoob-xw2dc Рік тому +5

    Hi, just wanted to say Thank You! for the clear and understandable explanations to how SimpleRockets/Juno works. I was banging my head on the wall when I first started playing because the game has a lot of complicated functionality that doesn’t have any explanation on how it works.
    I just wanted to pop by and offer a bit of improvement on your script (which I desperately needed to understand the basic calculations) for hovering. I managed to eliminate all of the If statements and turn it into a single line of calculation. Here it is:
    Set Throttle to: (1 - (X * Velocity Vertical)) ^ Y / MaxTWR
    X is between 0 and 1 and tells it how soon to kick in (.5 will make it kick in at 2 m/s, 0.1 at 10 m/s, 0.01 at 100 m/s, etc)
    Y is anything you want, and tells it how fast to ramp throttle - if set to 1, it’s linear and ramps very slowly, if set to 3 or more, it ramps very quickly
    Thanks again for the great video, hope you continue making content!

  • @EUPThatsMe
    @EUPThatsMe 9 місяців тому +3

    Great vid! So far I've only used velocity and altitude and my own PID to control throttle 0..1 vs just all or none. I think I could combine your Kinematic logic with the PID logic and get a true, smooth suicide burn.

    • @Deltlead
      @Deltlead  7 місяців тому +1

      Absolutely, that's a totally valid way to solve for the choppy throttle at the end

    • @retzerR
      @retzerR 5 місяців тому

      ​@@DeltleadYou could combine a lot of the code from the hover logic to provide a constant landing speed

  • @TheRenofox
    @TheRenofox Рік тому +1

    Thanks! This is the first working autoland program I've found, and with a good enough tutorial that I learned a lot too!

  • @sadcat1327
    @sadcat1327 2 роки тому +1

    Bro, wth, why u have only 48 likes on this video, it must be 48 million likes

  • @Brav06
    @Brav06 2 роки тому +1

    Thank you, this is perfect for my ssto.

  • @nhielponce9738
    @nhielponce9738 2 роки тому +1

    7:23
    I'm not so sure if I'm missing some crucial information here.
    The second "If" loop-if slowly falling- of "Hover" will never be true since Vertical Velocity cannot be more than/eq to -1 but less than/eq to -5 at the same time.
    My mind: V is here

    • @ismaelsierra3757
      @ismaelsierra3757 Рік тому

      as you said, you can't really have a velocity that is greater than or eq to -1, while being less than -5 that's a bit weird lmao. If that works, then he has to be defying the game physics or something.

  • @AstonRBLX_LLD7
    @AstonRBLX_LLD7 Місяць тому +1

    Sounds like moderation for dummies

  • @falkenherz1708
    @falkenherz1708 Рік тому

    Thank you for your very clear explanations!

  • @SentinelAerospaceOfficial
    @SentinelAerospaceOfficial 2 роки тому +2

    I feel like a proportional controller related to TWR would be better for the hover program but good nonetheless

  • @gorebello
    @gorebello 3 місяці тому +1

    Link is down. If some noob ia having trouble reproducing the code. Although the game allows you to type text in some fields and it looks like you are freating the variable, it's not. You need to create the variable in the left pannel. There is a button in the bottom of the screen.

  • @pragyatripathi7397
    @pragyatripathi7397 4 місяці тому +1

    How did you set land and hover program into activation grp like we activate solar panels please tell
    I use the same code but land and hover options don't come in my activation grp list
    Please help

    • @BCR81
      @BCR81 2 місяці тому

      Make a dedicated part for the AG, like a beacon light. Then it’ll show up

  • @jocope0519
    @jocope0519 Рік тому +3

    14:25 link dawn

  • @maxborisful
    @maxborisful 6 місяців тому

    Cool stuff but, that IF block when V >= -1 and V

  • @raiden542
    @raiden542 2 роки тому +2

    I copied it exactly and did not work. Will be downloading the script

  • @55555homixide
    @55555homixide 2 роки тому +1

    Make more dude they're good

  • @rorionsoares3248
    @rorionsoares3248 8 місяців тому +1

    Hi, can you teach me how to do this landing on a target please?

    • @Deltlead
      @Deltlead  7 місяців тому

      I'm not sure even I am that good yet

    • @rorionsoares3248
      @rorionsoares3248 7 місяців тому

      @@Deltlead You were always good

  • @ingenuity23
    @ingenuity23 2 роки тому

    like you showed in your landing program, the craft was constantly cycling between throttling on and off when it was ~12 m off the ground, could you suggest any modifications to fix it or point out why it occurs? otherwise great video!

    • @Deltlead
      @Deltlead  2 роки тому

      One of the conditions in the if statement was velocity

  • @shivjanamyadav5097
    @shivjanamyadav5097 2 роки тому +1

    What will be next vizzy? 😇😇

  • @shivjanamyadav5097
    @shivjanamyadav5097 2 роки тому +1

    Can u Mack vizzy for auto orbit and docking

  • @B.D.B.
    @B.D.B. Рік тому

    Overall this is very good, but I see a lot of cases that are not handled. Generally speaking, your program is reactive and doesn't "plan" ahead. For example, you are not taking into account thrust changes with altitude/air pressure nor are you taking into account changes in surface elevation. Meaning under certain scenarios your programing will suddenly not have enough thrust, which, had it plotted out the landing trajectory ahead of time, could have been resolved. This is not a knock against you, I'm not even sure it's possible to do this with Vizzy and I'm sure this code works 90+% of the times.

    • @xymaryai8283
      @xymaryai8283 Рік тому

      everything is possible with Vizzy. but its not going to be comprehensible to beginners. or even intermediate vizzy coders.

  • @conradoorlina3776
    @conradoorlina3776 2 роки тому +1

    I make it but why when I lunch it and I go to activation button there is no hover and landing

    • @Deltlead
      @Deltlead  2 роки тому +1

      I'd you're on mobile you'll need to have a part on your craft that uses the AG group. A beacon light is the best way to do it

  • @nomadredz
    @nomadredz 2 роки тому +1

    Like you promised

  • @Joshuah--
    @Joshuah-- Рік тому

    Why was the craft removed? 😢

  • @leonheilsotero8058
    @leonheilsotero8058 Рік тому

    The link doest work anymore please fix it

  • @shirokumo5364
    @shirokumo5364 Рік тому

    can i download the script?

  • @marslight431
    @marslight431 2 роки тому

    I'm kinda confused with the landing

    • @marslight431
      @marslight431 2 роки тому

      I decided to take a few classes and learnt kinematics fr.now,this is nothing like I learned .the other is motion ,when I look at this, ow boyy

  • @shivjanamyadav5097
    @shivjanamyadav5097 2 роки тому +1

    🤡🤡🤡🥳🥳🥳🤡🤡🥳🥳🥳