Why INAV climbs rapidly in Altitude Hold mode?

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 89

  • @sinisternm
    @sinisternm Před rokem +5

    I was having this problem on a new 3.5" build. i tried soft mounts, i went over it top to bottom tightening bolts and bundling wires. same problem flight after flight, then i figured its got to be in the pid's, i lowered velocity z from 100 to 50 and its holding steady, no more shootoffs. i even got to fly around and land without it doing something crazy. if i remember right, in an older version they weren't so high.

    • @Twizington
      @Twizington Před rokem

      This is really interesting. I’m having similar issues with a 3.5 build. I’ll look into the pids like you said, thanks for that!

    • @IAmTheCraftsman
      @IAmTheCraftsman Před rokem

      Thanks for this. I have lowered my velocity z from 100 to 50 and will see if this reduces or eliminates the "shootoffs".

    • @IAmTheCraftsman
      @IAmTheCraftsman Před rokem +1

      It worked @sinisternm! There is a good amount of "drifting" in the altitude while althold is engaged. I am increasing the velocity z for the Barometer & Sonar/Altitude up from 50 to 75 to see if the altitude "drifting" becomes less without shooting to the moon.

    • @sinisternm
      @sinisternm Před rokem

      @@IAmTheCraftsman im glad to hear it. its been a while since my last flight, i think mine was drifting a bit too, but the shootoff problem did go away. i think my matekf405te flight controller was an issue too. still no dshot support as far as i know. i think i had to switch to betaflight for dshot with rpm filtering and it flew like a dream. no althold but rth worked fine.

  • @dotlineentertainment8191
    @dotlineentertainment8191 Před 2 lety +7

    Thanks for this video, my attitude hold was shooting like a rocket, after watching this video I realized my flight controller was too tight to the frame so I just loosen it a bit to have a little bit of flexibility and that solved my problem. My attitude hold works like magic. Thanks alot👍

  • @gauravluckyrauthan4
    @gauravluckyrauthan4 Před 5 měsíci

    exactly what was my problem and the exact solution to this. I was facing this problem of quad going high in the sky like rocket whenever I set position hold mode in my radio. My fc was loosely fit in the mesh of wires in my frame and this would have caused false reading to accelerometer. Then I fit my FC firmly in the frame now the problem is gone and I am very happy with that. Thank for posting this video. 👍👍. You saved my quad.

  • @MCsCreations
    @MCsCreations Před 2 lety +1

    Excellent tips, Pawel! Thanks a lot! 😃
    Stay safe there with your family! 🖖😊

  • @AmirAliabadi
    @AmirAliabadi Před 2 lety +4

    would love to see what a clean noise-free trace looks like. I'm continuously refining my builds but really don't know when I have reach the ideal "noise free build"

  • @goobisoft4873
    @goobisoft4873 Před 2 lety +4

    This is the exact same reason why i left INAV and started using ardupilot exact same hardware not even prop changed ,which worked great to this day in inav i lowerd the throttle too much to compensate for skyrocketed that it crashed into the bushes luckily nothing damaged and next day used ardupilot and didn't have to tune at all worked flawlessly at defaults pid and settings

  • @joenaylor34
    @joenaylor34 Před 2 lety +3

    Why dont my DJI quads (Phantom and FPV Drone) have this problem? They hold altitude perfectly even with a damaged prop.

  • @kboo918077
    @kboo918077 Před 2 lety +1

    Thank you, that makes sense to my last crash, my propellers was not the one I use usually

  • @jackevans2386
    @jackevans2386 Před 2 lety +5

    This logic makes no sense. Your barometer and GPS signals are not affected by vibration .. only the accelerometer, yet your code is relying heavily on the false readings from the accelerometer, rather than the barometer and GPS which are more in agreement regarding the craft's true altitude. With this situation a red flag should be thrown up instead of powering the craft further and further into the heavens. An error should be sounded when there is such a huge disagreement between the 3 altitude sensor devices. I realize these 3 devices do not react to altitude changes at the same speed as each other, but surely some better fusion algorithm (yet to present itself) could solve this problem. Before powering the motors into the sky, a check of the GPS and barometer should always be made first to see what they think. If they come back and say " not a good idea" then just flag the error. I realize there may not be enough time to ask the GPS and Baro for their opinions, but to blindly rocket into space is simply crazy !

    • @FPVUniversity
      @FPVUniversity  Před 2 lety

      No, it makes no sense to you. Makes perfect sense when you think about it slightly longer

  • @embededfabrication4482
    @embededfabrication4482 Před 2 lety +2

    there needs to be some DSP applied to this accelerometer data before INAV uses it then. it shouldn't be disabled by vibrations

  • @AerialWaviator
    @AerialWaviator Před 2 lety +2

    Wondering if hover throttle being set higher than needed for hover could be a contributing factor?
    Is interesting that tendency is to climb, not drop or poorly hold altitude.

    • @anothertime
      @anothertime Před 2 lety +3

      Everytime I setup a new quad I get this behavior with default settings. Once I set the hover setting correct it works fine so I agree with you. Of course that doesn't mean that the vibration isn't causing it when the hover is off. That's been my experience.

  • @philipclarke8838
    @philipclarke8838 Před 2 lety

    Thanks for the clear explanation Pawel

  • @mountaindewdude76
    @mountaindewdude76 Před 2 lety +6

    This is odd because I have a 450 quad that has had Inav on it for two years and I never had the sudden altitude climb until I updated firmware. I changed nothing on the quad and the props are new and balanced.

  • @fpvfun922
    @fpvfun922 Před 2 lety +2

    Why not filtering accelerometer ? Why not evaluate error using long term altidute reported by gps ?

    • @emtbbam2895
      @emtbbam2895 Před 2 lety

      GPS does not have the expected precision.

  • @spaceshuttle8332
    @spaceshuttle8332 Před 2 lety +3

    *Chris Rosser liked this video*

  • @snubberless
    @snubberless Před 2 lety +2

    Is there a possibility to control the sensor fusion composites? Or maybe to smooth out the acc readings with a kalman or lowpass?

    • @zoran.grujic
      @zoran.grujic Před 2 lety

      Yes, this sounds like viable software solution for the problem. Good idea!

  • @jeffclassics
    @jeffclassics Před 2 lety +1

    How about adding a bias to the baro? So it will be like weighed average with baro having more weight and accel being last.

  • @Indonesia01ian
    @Indonesia01ian Před 8 měsíci

    Hi did you know why INAV cannot detect my M181 Walksnail Compas?
    I already plug into the socket to my Speedybee f405wing (SCL &SDA already connected)
    I heard that if I want to use Altitude Hold feature in INAV I have to activate the Compass

  • @Eugenue
    @Eugenue Před 2 lety

    Thank you for the clarification

  • @E-sk8Fr
    @E-sk8Fr Před 2 lety

    awesome, you should do a video on how to use the blackbox explorer to fine tune basic stuff

  • @Rooey129
    @Rooey129 Před 2 lety +2

    Why not remove accelerometer reading from the calculation?

    • @emtbbam2895
      @emtbbam2895 Před 2 lety +1

      My first idea: Change the code. Found the right place but not having a good solution right now. Does not shoot anymore but flying was a mess in this mode.

  • @BBFPV
    @BBFPV Před 2 lety +1

    Should vibrations not average out? Actually, you can never get rid of them completely.

    • @FPVUniversity
      @FPVUniversity  Před 2 lety +1

      No, at one point they no longer average out. Filters are not symmetrical. Both INAV internal and hardware internal. On top of that, when you hit the ACC resonance frequency, the hell breaks loose

  • @johnmcguinness2847
    @johnmcguinness2847 Před rokem +1

    Hi, Well done very interesting. However how about fitting a Lidar sensor? Are there any instructions for iNav 6 fitting and set up of a serial Lidar. Any help would be helpfull.
    Regards John

    • @FPVUniversity
      @FPVUniversity  Před rokem

      Lidars that are available for the hobby are either big or pricy or with very limited range

    • @johnmcguinness2847
      @johnmcguinness2847 Před rokem

      Thanks for that Pawel. I must point out however that Lidars 12 meter range are about the same size, weight and price as Optical flow sensors. Yet you endorse optical flow in at least one video why ?

    • @FPVUniversity
      @FPVUniversity  Před rokem

      Buy Lidar and OpFlow are 2 completely different things. Lidar measures distance. OpFlow measures angular velocity of background

    • @johnmcguinness2847
      @johnmcguinness2847 Před rokem +1

      Thank you for your reply. Yes I do know the difference. My point was you dismissed a very accurate device for measuring Height on the grounds of cost, size and range, all these factors you seem to "live with" when considering Optical Flow. Not a criticism merely I point of logical thought Thanks for all your time involved with iNAV without you and the other Devs we would have a lot less to fly. Regards John

  • @serang
    @serang Před 2 lety

    Well explained!

  • @FunBitesTV
    @FunBitesTV Před 2 lety +1

    Is it possible to set inav to ignore the accelerometer for altitude and just rely on GPS or baro?

    • @rohanjawalkar946
      @rohanjawalkar946 Před 2 lety +1

      Yes plz help I've also same problem

    • @Vertical_UAV
      @Vertical_UAV Před rokem +2

      Did you find the solution? I need the exactly same thing - forget the accel for altitude calculation and just use my rangefinder

  • @Sleeperknot
    @Sleeperknot Před 8 měsíci +1

    My 10 year old Ardupilot based 10 inch quad with hell lot of vibrations (mount a camera and you get jello galore!) does Alt-hold like a boss. It runs on an age old APM2.8. Alt-hold, RTL, missions, everything just works and they work great. Zero config, zero confusion for the user. Just enable the mode. So... when Betaflight and INAV talks about a lot of theory on why the drone falls from sky or why it shoots up with Alt-hold, for me it sounds like poor implementations. I may be wrong though.

  • @Migueldeservantes
    @Migueldeservantes Před 2 lety

    One wonder if in iNav 3.0.2 (Matek F743 Wing Version 2) its possible to use a Cli command to make RX4 Receive Sbuss signal???

  • @jimmytheriot8978
    @jimmytheriot8978 Před 2 lety

    I fly fix wing and when I arm my motor and function servos in manual mode servos act normal but if I put it in stabilize mode while armed the servos do not return to center, but soon as I disarm the servos return to center in stabilize mode?

  • @wingsmh27
    @wingsmh27 Před 6 měsíci

    In Arduplane gyro setup to .025 for 5inch and for 10inch it .035

  • @Simofly
    @Simofly Před rokem

    Hi pawel, I’m switching to inav all my midrange quads, in the smaller ( 5.5”) Inhave this same problem but the build seems very clean ( Chris Rosser Aosrc 5.5” ) I have double capacitors on esc and FC Vbat , the FC got a plastic cover that protects baro from turbolence. Could it be the icm42688p chip that is too noisy in general ?

  • @ZenoErwt
    @ZenoErwt Před 2 lety

    Hi Pawel,
    Can you tecommend a nice quad for long flight times , with decent GPS? Really want to try inav instead of betaflight. And think a lot of features would suit a lr drone well (or perhaps a not too big wing ). I'd like to do some waypoint missions with a drone that is as quiet/ stealthy as possible (analog vtx btw)

    • @FPVUniversity
      @FPVUniversity  Před 2 lety +1

      Why not this? fpv-shopping-list.com/pirx7

    • @ZenoErwt
      @ZenoErwt Před 2 lety

      @@FPVUniversity oh! That looks interesting! Thank you, going to watch all your videos about this one !

  • @7356205
    @7356205 Před 2 lety

    what is the difference between altitude hold and position hold? i cant find a clear answer

    • @FPVUniversity
      @FPVUniversity  Před 2 lety

      One holds the altitude and the other holds position and/or altitude?

  • @MassimoHely
    @MassimoHely Před 2 lety

    nice video ! i have the opposite problem. When I activate the ph my quod quickly loses altitude and I have to recover immediately with the command of the gas. why?! thank you .

    • @FPVUniversity
      @FPVUniversity  Před 2 lety +1

      check with blackbox log how altuitude estimator works

  • @z-collector7518
    @z-collector7518 Před rokem +1

    Why the software just can't fix this problem?! What about giving priority to the barometer data? If the difference between the barometer and the accelerometer is greater than x, then disregard the accelerometer...
    You are also telling us to soft mount the FC and motors. OK, but doesn't that make the whole drone more flexible? What does it matter if you have stiff arms when you mount your motors on a neoprene base?

    • @FPVUniversity
      @FPVUniversity  Před rokem

      Let's try with an anaology. Your car has low pressure in one tire and it pulls to the side. Do you fix the problem by inflating the tire or ask cars software to compensate?

  • @cliffcosynerflight5253

    Hi Pawel its a good introduction but Id like to know about the PID tuning Process for Barometer mainly Velocity Z and Position Z on your next video.

    • @FPVUniversity
      @FPVUniversity  Před 2 lety

      There is no need to tune it. At least I never found a reason to tune it. If you have problem with altitude hold, it's usually due to different problems, not this one

    • @cliffcosynerflight5253
      @cliffcosynerflight5253 Před 2 lety

      @@FPVUniversity thanks, and in Advance Tuning what about the mid. throttle for ALTHOLD and Hover throttle? and changes to it ? as my drone gets jumpy when set as 1500uS default im using INAV 5.0.0 and a F411 FC

    • @cliffcosynerflight5253
      @cliffcosynerflight5253 Před 2 lety +1

      @@FPVUniversitycan you also review the INAV 5.0.0 which recently came out possible issues to watch out for

  • @superspiegi7098
    @superspiegi7098 Před rokem

    I had in the "Outputs" tab "Motors IDLE power [%]": 15.0! It had to be not more than 5%! 15% was so much that my copter no longer descends. (INAV 6.0, Chimera 7 1800kv)

  • @vedasticks
    @vedasticks Před 2 lety

    I had this happen in rth whe i was at home point, instead of landing it went full speed straight up...... but positiom hold didnt shoot up ,....

  • @KCLeung-gm8ql
    @KCLeung-gm8ql Před rokem

    I have a Matek H743-slim v3. It's impossible to set correctly because it is using ICM426XX gyro.

    • @pornzi
      @pornzi Před 7 měsíci

      did you ever solve withn h743

    • @KCLeung-gm8ql
      @KCLeung-gm8ql Před 7 měsíci

      @@pornzi No, replaced it.

  • @emtbbam2895
    @emtbbam2895 Před 2 lety

    Thank you for the advice. No chance for Bumblebee V3. Have to switch back to BF.

  • @recifestargazer2192
    @recifestargazer2192 Před rokem

    And what should be the drone climbing slowly

  • @SmudgeFPV
    @SmudgeFPV Před 2 lety

    I use matek f722px, I coated the FC until cover barometer. My friend said don't to it because make your barometer error then I remove the coating. The problem is my alt mdpl is fine but my alt is minus, when I fly to high the alt is more minus, can't hover or RTH because he say adjusting altitude until my drone to the moon. For the final question is my barometer is error? can I use external barometer to fix it?

    • @philipclarke8838
      @philipclarke8838 Před 2 lety

      There is a small hole in the barometer. You need to stick a pin gently into the hole to clear it . Be careful not to go in too far! Other than that you can use a different external barometer but it must be in the list supported by the FC. Hope this helps.

    • @SmudgeFPV
      @SmudgeFPV Před 2 lety

      @@philipclarke8838 thanks before bro, can I ask again? I buy external barometer which same type with internal barometer, how to setting in GUI?

    • @emtbbam2895
      @emtbbam2895 Před 2 lety

      @@SmudgeFPV In BF you could set definitions in CLI. In INAV you have to modify the source code.

    • @SmudgeFPV
      @SmudgeFPV Před 2 lety

      @@emtbbam2895 how to modify code? I'm trying in google can't find anything, can you help me?

    • @emtbbam2895
      @emtbbam2895 Před 2 lety

      @@SmudgeFPV Oh, okay. So in this case I do not recommend to go this way. Until you are a developer with a bunch of experience.

  • @user-bv2kv8hx5d
    @user-bv2kv8hx5d Před 2 lety

    Why inav can't to filter that vibrations?

    • @FPVUniversity
      @FPVUniversity  Před 2 lety

      It can, to some extend. But getting rid of all the noise from saturated ACC is just impossible

  • @moturcu4226
    @moturcu4226 Před 2 lety

    Does it rth without barometer?

    • @FPVUniversity
      @FPVUniversity  Před 2 lety +1

      Can but should not. GPS is not reliable enough for altitude readouts to have a stable and safe flight

    • @moturcu4226
      @moturcu4226 Před 2 lety

      @@FPVUniversity Thanks.

  • @jcfpv3454
    @jcfpv3454 Před 2 lety

    This is why I use i nav for wings and planes and beta flight for quads I tried I have on my drone had nothing but problems always had to recalibrate it it turned into more problems than it was really worth it was better off to just put beta flight on my drones and inav on all my planes

    • @FPVUniversity
      @FPVUniversity  Před 2 lety +1

      I think you compare completely different thing. BF has no position hold so this comparison is greatyly flawed

  • @tarkdemir5188
    @tarkdemir5188 Před rokem

    If there is a sponge on the barometer, remove it.

    • @FPVUniversity
      @FPVUniversity  Před rokem +1

      Thats is probably one of the worst advices in the history of advices

  • @selfish1716
    @selfish1716 Před rokem

    but this should help? inav_w_z_baro_p So we can change it so we rely on altimeter more. Right?