This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selflearning gain settings
#1
I read a lot about the setting of the several gains.
Would it be an idea to implement a self learning algorythm, so the pypilot can adjust the gains itself?
A manual overwrite should off course still be possible!
Reply
#2
It is implemented in several ways, but it is a difficult problem. This is because it could end up making things worse. The autopilot will hold a course with a wide variety of parameters, but optimizing it has always been tricky and changing conditions can easily fool simplistic algorithms.

Right now, pypilot supports different "pilots" the basic pilot uses fixed gains, but some of the alternate pilots do auto-tuning. Most of these are experimental and disabled by default but easy to enable for testing:
https://github.com/pypilot/pypilot/tree/...lot/pilots

For example "autotune" is a very simple example of autotuning, but as I mentioned it has the potential to be worse especially in changing conditions.

For this reason there are also "profiles" allowing the user to quickly change all the gains, the pilot algorithm used as well as servo parameters to preset values.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)