Andrew Tridgell
1633afb6cd
APM_Control: adjust fixed wing filter defaults
...
adjust defaults based on discussions with Paul, and initialise the
FLTT value based on the controller time constant
4 years ago
Andrew Tridgell
f64c6f9ba1
APM_Control: fixed cygwin build
...
FF0 is a macro in cygwin
4 years ago
Andrew Tridgell
dd98f00947
APM_Control: prevent cross-axis tuning
...
this should fix tuning at higher AUTOTUNE_LEVEL values
4 years ago
Andrew Tridgell
320d3d20c2
APM_Control: log autotune at 25Hz
4 years ago
Andrew Tridgell
72b51a389c
APM_Control: use ATRP log msg via structure
4 years ago
Andrew Tridgell
7b073a61f1
APM_Control: allow for gain reductions when idle
4 years ago
Andrew Tridgell
b079da33c5
APM_Control: use slew rate to move gains more smoothly
4 years ago
Andrew Tridgell
53ee13a083
APM_Control: use instance logging and allow AUTOTUNE_LEVEL adjustments
4 years ago
Andrew Tridgell
0b76a8018f
APM_Control: move rmax and tau more slowly
4 years ago
Andrew Tridgell
3cb32a18f0
APM_Control: fixed for cygwin build
4 years ago
Andrew Tridgell
f88622def8
APM_Control: implement new autotune system
...
use actuator/rate ratio with median filter for FF and Dmod/overshoot
for P,I,D
4 years ago
Andrew Tridgell
ead011c7c2
APM_Control: move to only ACPID
4 years ago
Peter Barker
cb692c6946
APM_Control: move logger include to .cpp
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
d1f5bcb1ab
APM_Control: stop taking reference to dataflash, use singleton
6 years ago
khancyr
76a6649a2d
AP_Autotune: remove unimplemented function
7 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
382b6f87fe
APM_Control: replace header guard with pragma once
9 years ago
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
9 years ago
Gustavo Jose de Sousa
db9f037e4b
APM_Control: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
131b345ccc
APM_Control: cleanup some coverity warnings
10 years ago
Andrew Tridgell
86a3bca88c
APM_Control: added FF parameters to roll and pitch controllers
...
these are much easier to tune with the new PID_TUNING messages
10 years ago
Peter Barker
9ae85ed9ab
APM_Control/AP_AutoTune: use 64-bit timestamps for dataflash logs
10 years ago
Andrew Tridgell
eb1fb63e57
APM_Control: added logging of parameter changes in AUTOTUNE
...
this will make it easier to analyse logs
11 years ago
Andrew Tridgell
871d0c0e44
APM_Control: moved the log structure to ArduPlane core
...
this allows it to work with old style .log files
11 years ago
Andrew Tridgell
7f9a9107c7
APM_Control: logging_started needs to be static
...
prevents writing log headers twice
11 years ago
Andrew Tridgell
b4c5f31b17
APM_Control: reduce the number of parameter saves in autotune
...
don't save a parameter unless it has changed by 0.1%
11 years ago
Andrew Tridgell
ae7293ef68
APM_Control: added support for AUTOTUNE_LEVEL
...
10 levels of tune, for what type of tune the user wants
11 years ago
Andrew Tridgell
3343af602e
APM_Control: fixed saving of new rate gains
11 years ago
Andrew Tridgell
b9a8ef3b51
APM_Control: fixed a bug in autotune servo saturation check
...
its in degrees not centi-degrees
11 years ago
Andrew Tridgell
64170d0f04
APM_Control: added dataflash logging to autotune
11 years ago
Andrew Tridgell
50fc75917e
APM_Control: first version of APM_Control autotuning
...
this adds autotune to the roll/pitch controllers using a very simple
mechanism. The plan is that this provides a framework which Paul and
Jon will build upon.
11 years ago