Why INAV climbs rapidly in Altitude Hold mode?

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 87

  • @gauravluckyrauthan4
    @gauravluckyrauthan4 7 หลายเดือนก่อน

    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 3 ปีที่แล้ว +1

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

  • @dotlineentertainment8191
    @dotlineentertainment8191 3 ปีที่แล้ว +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👍

  • @kboo918077
    @kboo918077 3 ปีที่แล้ว +1

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

  • @sinisternm
    @sinisternm 2 ปีที่แล้ว +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.

    • @TJbuffs
      @TJbuffs 2 ปีที่แล้ว

      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 ปีที่แล้ว

      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 ปีที่แล้ว +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 ปีที่แล้ว

      @@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.

  • @philipclarke8838
    @philipclarke8838 2 ปีที่แล้ว

    Thanks for the clear explanation Pawel

  • @goobisoft4873
    @goobisoft4873 2 ปีที่แล้ว +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

  • @AmirAliabadi
    @AmirAliabadi 3 ปีที่แล้ว +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"

  • @joenaylor34
    @joenaylor34 3 ปีที่แล้ว +3

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

  • @FourthWayRanch
    @FourthWayRanch 3 ปีที่แล้ว +2

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

  • @spaceshuttle8332
    @spaceshuttle8332 3 ปีที่แล้ว +3

    *Chris Rosser liked this video*

  • @Eugenue
    @Eugenue 3 ปีที่แล้ว

    Thank you for the clarification

  • @AerialWaviator
    @AerialWaviator 3 ปีที่แล้ว +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 2 ปีที่แล้ว +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.

  • @snubberless
    @snubberless 3 ปีที่แล้ว +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 2 ปีที่แล้ว

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

  • @fpvfun922
    @fpvfun922 3 ปีที่แล้ว +3

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

    • @emtbbam2895
      @emtbbam2895 2 ปีที่แล้ว

      GPS does not have the expected precision.

  • @johnmcguinness2847
    @johnmcguinness2847 ปีที่แล้ว +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  ปีที่แล้ว

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

    • @johnmcguinness2847
      @johnmcguinness2847 ปีที่แล้ว

      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  ปีที่แล้ว

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

    • @johnmcguinness2847
      @johnmcguinness2847 ปีที่แล้ว +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

  • @Indonesia01ian
    @Indonesia01ian 10 หลายเดือนก่อน

    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

  • @Migueldeservantes
    @Migueldeservantes 2 ปีที่แล้ว

    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 3 ปีที่แล้ว

    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?

  • @Simofly
    @Simofly ปีที่แล้ว

    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 ?

  • @mountaindewdude76
    @mountaindewdude76 3 ปีที่แล้ว +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.

  • @jeffclassics
    @jeffclassics 2 ปีที่แล้ว +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.

  • @E-sk8Fr
    @E-sk8Fr 2 ปีที่แล้ว

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

  • @Rooey129
    @Rooey129 3 ปีที่แล้ว +2

    Why not remove accelerometer reading from the calculation?

    • @emtbbam2895
      @emtbbam2895 2 ปีที่แล้ว +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.

  • @serang
    @serang 2 ปีที่แล้ว

    Well explained!

  • @FunBitesTV
    @FunBitesTV 3 ปีที่แล้ว +1

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

    • @rohanjawalkar946
      @rohanjawalkar946 2 ปีที่แล้ว +1

      Yes plz help I've also same problem

    • @Vertical_UAV
      @Vertical_UAV ปีที่แล้ว +2

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

  • @jackevans2386
    @jackevans2386 2 ปีที่แล้ว +6

    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  2 ปีที่แล้ว

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

  • @MassimoHely
    @MassimoHely 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +1

      check with blackbox log how altuitude estimator works

  • @SmudgeFPV
    @SmudgeFPV 2 ปีที่แล้ว

    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 2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      @@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 2 ปีที่แล้ว

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

    • @SmudgeFPV
      @SmudgeFPV 2 ปีที่แล้ว

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

    • @emtbbam2895
      @emtbbam2895 2 ปีที่แล้ว

      @@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.

  • @KCLeung-gm8ql
    @KCLeung-gm8ql 2 ปีที่แล้ว

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

    • @pornzi
      @pornzi 9 หลายเดือนก่อน

      did you ever solve withn h743

    • @KCLeung-gm8ql
      @KCLeung-gm8ql 9 หลายเดือนก่อน

      @@pornzi No, replaced it.

  • @ZenoErwt
    @ZenoErwt 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

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

    • @ZenoErwt
      @ZenoErwt 3 ปีที่แล้ว

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

  • @cliffcosynerflight5253
    @cliffcosynerflight5253 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      @@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 2 ปีที่แล้ว +1

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

  • @vedasticks
    @vedasticks 2 ปีที่แล้ว

    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 ,....

  • @BBFPV
    @BBFPV 3 ปีที่แล้ว +1

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

    • @FPVUniversity
      @FPVUniversity  3 ปีที่แล้ว +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

  • @recifestargazer2192
    @recifestargazer2192 2 ปีที่แล้ว

    And what should be the drone climbing slowly

  • @emtbbam2895
    @emtbbam2895 2 ปีที่แล้ว

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

  • @wingsmh27
    @wingsmh27 9 หลายเดือนก่อน

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

  • @superspiegi7098
    @superspiegi7098 ปีที่แล้ว

    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)

  • @user-bv2kv8hx5d
    @user-bv2kv8hx5d 3 ปีที่แล้ว

    Why inav can't to filter that vibrations?

    • @FPVUniversity
      @FPVUniversity  3 ปีที่แล้ว

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

  • @moturcu4226
    @moturcu4226 2 ปีที่แล้ว

    Does it rth without barometer?

    • @FPVUniversity
      @FPVUniversity  2 ปีที่แล้ว +1

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

    • @moturcu4226
      @moturcu4226 2 ปีที่แล้ว

      @@FPVUniversity Thanks.

  • @Sleeperknot
    @Sleeperknot 10 หลายเดือนก่อน +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.

  • @z-collector7518
    @z-collector7518 ปีที่แล้ว +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  ปีที่แล้ว

      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?

  • @jcfpv3454
    @jcfpv3454 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

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

  • @tarkdemir5188
    @tarkdemir5188 ปีที่แล้ว

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

    • @FPVUniversity
      @FPVUniversity  ปีที่แล้ว +1

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

  • @selfish1716
    @selfish1716 2 ปีที่แล้ว

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