iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.2k stars 1.49k forks source link

INAV 5.0 RC 3.0 irregular behavior during ALT and POS HOLD #8114

Closed abimaputra78 closed 8 months ago

abimaputra78 commented 2 years ago

Current Behavior

During alt HOLD throttle acts irregularly and suddenly punch out with no reason. Pos HOLD it just not hold but unexpected hold behavior

Steps to Reproduce

  1. Arm
  2. Fly cruise with 20 mtrs of alt
  3. Activated alt HOLD
  4. Alt Hold as expected but suddenly throttle punch out as unexpected behavior.
  5. Disactivated Alt Hold, Activated Pos HOLD and HOLD behavior can not stable like previous INAV version

Expected behavior

Altitude HOLD should perform stable altitude hold no unexpected throttle punch out and so does the pos HOLD

Suggested solution(s)

Improve of altitude HOLD and POS Hold become stable like before

Additional context


abimaputra78 commented 2 years ago

Yups agreed. Actually alt hold In 5.0 really great, but with note throttle punch out suddenly. 🙏 No idea what caused this.

On Sun, Jun 12, 2022, 9:55 PM Julio Cesar Matias @.***> wrote:

on my multirotor the Alt-Hold works well... the Pos-Hold fires backwards, you can see it in this video >> https://drive.google.com/file/d/1UTq7lmSEVHoVsminCD49ZzAA7LzgenI1/view?usp=sharing

— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/8114#issuecomment-1153195652, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWZHPX3HXY6WWDIPBHCCBTVOX25NANCNFSM5YRUN26A . You are receiving this because you authored the thread.Message ID: @.***>

Jetrell commented 2 years ago

There is a similar issue open in the discussions https://github.com/iNavFlight/inav/discussions/8096.. Have a read and see if you can extract any information to help in your case. These issues are generally all vibration related. And can appear occasionally after firmware changes, if there is a slight change to the filtering methods. I experienced this when going from 3.02 to 4.1.

abimaputra78 commented 2 years ago

Im afraid its not a vibration issue. 🙏

On Mon, Jun 13, 2022, 8:00 AM Jetrell @.***> wrote:

There is a similar issue open in the discussions #8096 https://github.com/iNavFlight/inav/discussions/8096.. Have a read and see if you can extract any information to help in your case. These issues are generally all vibration related. And can appear occasionally after firmware changes, if there is a slight change to the filtering methods. I experienced this when going from 3.02 to 4.1.

— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/8114#issuecomment-1153345819, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWZHPWJAUXW2DJKLY3RXCDVO2BZ7ANCNFSM5YRUN26A . You are receiving this because you authored the thread.Message ID: @.***>

Jetrell commented 2 years ago

You have checked for hardware vibrations? By looking at raw gyro log data, to be sure.

dadddda commented 2 years ago

I'm also on iNav 5.0 RC3 and when I arm for the first time in angle mode and then switch to POSHOLD everything works fine, but after a little bit of flying, landing, disarming and then arming again in angle mode and changing the flight mode to POSHOLD makes the quad jump very rapidly on the Z axis for about 20-30cm and then stabilize to the ground.

Checked the blackbox and I don't see any unusual gyro/accelerometer vibrations. All seems good.

Snapshot of that behavior: image

dadddda commented 2 years ago

I did a further investigation and found out this, but I don't know if this is valuable info:

So, I noticed that even though I have a throttle at 0 during the arm, when I put the quad in POSHOLD from angle mode, the throttle jumps to mid-point without moving the stick and then stabilizes...

image image