inav icon indicating copy to clipboard operation
inav copied to clipboard

pidsum_limit can be 0 and will disable pid for roll, pitch and yaw

Open WaspFPV opened this issue 9 years ago • 5 comments

I was testing some preset modes in iNav 1.6 and suddenly the pid controllers stopped working. After some digging around in CLI I found pidsum_limit was set to 0, with allowed range of 100-1000. Sounds like a bug to me. Unfortunately I cannot remember what steps I took.

WaspFPV avatar Feb 02 '17 20:02 WaspFPV

You need configurator 1.6

czw., 2.02.2017, 21:18 użytkownik André [email protected] napisał:

I was testing some preset modes in iNav 1.6 and suddenly the pid controllers stopped working. After some digging around in CLI I found pidsum_limit was set to 0, with allowed range of 100-1000. Sounds like a bug to me. Unfortunately I cannot remember what steps I took.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/1221#issuecomment-277071167, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7Am14MbAFlYWQwIkScDwTTjwwj98UXks5rYjosgaJpZM4L1lV2 .

-- Pozdrawiam, Paweł Spychalski

DzikuVx avatar Feb 02 '17 20:02 DzikuVx

I noticed my configurator has just auto updated. I cannot get the error back so maybe it was because of configurator. I also noticed 3d_deadband throttle at some value around 53k (perhaps overwritten by "junk"), must also have been a result of this. I guess I'd better close this issue. By the way, which field in the GUI represents pidsum_limit?

WaspFPV avatar Feb 02 '17 20:02 WaspFPV

  1. Open Configurator 1.6
  2. Open PID Tuning Tab
  3. Open Chrome developer console, for example by right click, inspect and go to Console
  4. Type PID_ADVANCED
  5. You should see pidSumLimit: 0
  6. Type PID_ADVANCED.pidSumLimit=500`
  7. Hit save in configurator

There is no GUI yet for this setting

DzikuVx avatar Feb 02 '17 20:02 DzikuVx

One more thing about presets, if I want to suggest changes, should I do it in inav directory or in the configurator's directory?

WaspFPV avatar Feb 02 '17 20:02 WaspFPV

Configurator please. This is independent from firmware

czw., 2.02.2017, 21:45 użytkownik André [email protected] napisał:

One more thing about presets, if I want to suggest changes, should I do it in inav directory or in the configurator's directory?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/1221#issuecomment-277078089, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7AmwrGzX_9Aun9MtFrnkDq4RSnLp2Xks5rYkB3gaJpZM4L1lV2 .

-- Pozdrawiam, Paweł Spychalski

DzikuVx avatar Feb 02 '17 20:02 DzikuVx