Tom Pittenger
7132b39dcf
AP_AutoTune: fix compile warnings re float constants
10 years ago
Andrew Tridgell
ec70042d25
APM_Control: raise default IMAX to 3000
...
on the first flight users often need more I gain to overcome poor
choices for the P gain
10 years ago
Andrew Tridgell
3b6c732b3b
APM_Control: changed default I gain for roll/pitch controllers to non-zero
...
too many people are still not tuning. At least this will give them a
chance to get their aircraft back in a cross-wind
10 years ago
Andrew Tridgell
8f3dad0d1c
APM_Control: increase available range for roll and pitch
11 years ago
Andrew Tridgell
198ada2b42
APM_Control: avoid some float conversion warnings
11 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
Paul Riseborough
ccc7d36493
APM_Control: Modify D and I gain scaling
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
df192a9efd
AP_AutoTune: lower min tau to 0.2
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
Don Gagne
1db3c6e688
AP_Arming: param doc fixes
...
These were confusing the parser, or just incorrect
11 years ago
Don Gagne
e68cf2d1c5
Plane: Fix parameter documentation
...
Fixes some problems with incorrect docs which would in turn generate
bad amp.pdef.xml files for ground stations.
merge with below
11 years ago
Paul Riseborough
779e32d79f
AP_Control : Add true airspeed compensation to pitch controller
...
turn rate to pitch rate calculation should use true airspeed
11 years ago
Andrew Tridgell
9b5cae2134
APM_Control: reduce roll compensation in pitch controller by cos(pitch)
...
This reduces the use of the pitch compensation when in a steep climb
or dive
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
Andrew Tridgell
2930184680
AP_YawController: update for AHRS API change
11 years ago
Paul Riseborough
97cdd36dd8
APM_Control : Moved scaler on roll and pitch integrator to be before integrator
...
This means that the value of aileron and elevator trim offset won't change with airspeed
11 years ago
Andrew Tridgell
64c8cb4739
APM_Control: improved auto docs for AP_SteerController
12 years ago
Andrew Tridgell
39bfd809c2
APM_Control: disable integrator below minimum speed
...
this reduces the impact on initial takeoff
12 years ago
Andrew Tridgell
58187ea449
APM_Control: change minspeed on steering controller to 1.0
12 years ago
Andrew Tridgell
5abf060c41
APM_Control: enable integrator in ACRO rate controller
...
this work better for unlocked mode
12 years ago
Andrew Tridgell
d27f5e89d7
APM_Control: remove public AP_PitchController::get_coordination_rate_of|cat()
12 years ago
Andrew Tridgell
bd848a6a7f
APM_Control: added rate and angle steering controllers
12 years ago
Andrew Tridgell
0784c01f19
APM_Control: added STEER2SRV_MINSPD
...
this is the assumed min speed when in STEERING or AUTO mode
12 years ago
Andrew Tridgell
af2d7232c5
APM_Control: make the default time constant 0.75
...
thanks to Tom for the testing!
12 years ago
Andrew Tridgell
3e24ff1b07
AP_SteerController: change the scaling of the D term
...
this should cope better with low speed
12 years ago
Andrew Tridgell
98b4ed1522
AP_SteerController: lower the default STEER2SRV_D
12 years ago
Andrew Tridgell
fbe4be94cf
APM_Control: changed to AP_Vehicle.h
12 years ago
Andrew Tridgell
2171f2a80b
AP_SteerController: move scaler onto integrator input
...
this should make integrator scale with speed
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
0918393fed
APM_Control: fixed some documentation typos
12 years ago
Andrew Tridgell
7413c15959
APM_Control: added a ground vehicle steering controller
...
this will be used both for the rover code, and for ground steering of
a plane on takeoff
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
c6e37aaec3
APM_Control: use a ahrs reference, not pointer
...
saves pointer check
12 years ago
Andrew Tridgell
a7cbebbeba
APM_Control: rename 'stabilize' to 'disable_integrator'
...
this better reflects what it does
12 years ago
Andrew Tridgell
57752df68e
APM_Control: set a small D value by default
...
0.02 may help with some planes that have slow response
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
c5028c04da
APM_Control: scale controllers for altitude
...
this allows the attitude controllers to better handle a wider range of
altitudes
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
3e21d0594c
APM_Control: pass in aircraft parameters and expose coordinate rate offset
...
this will make it possible to do rate based pitch control without
having a coordinated turn, for in ACRO mode
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
5901b8b22a
APM_Control: allow for a wider range of P values for roll/pitch
...
values above 1.0 are sometimes needed
12 years ago
Andrew Tridgell
2ee43a694c
APM_Control: fixed YAW2SRV_IMAX handling
...
thanks to Steven G for noticing this!
12 years ago
Andrew Tridgell
cc778a68ae
APM_Control: changed attitude controllers to take angular error not angle
...
this makes it easier for ACRO mode
12 years ago
Andrew Tridgell
f2316747f5
APM_Control: re-work to allow for rate based control
12 years ago
Paul Riseborough
2204b30e66
Plane: Added APM_Control integrator limits to table used to covert old PID values
12 years ago
Paul Riseborough
147856e73c
APM_Control: Added integrator limiting adjustable by an advanced user parameter
...
this is compatible with the old IMAX settings
12 years ago
Paul Riseborough
d8dab7b5c7
APM_Control: Pitch Control - Reduced the speed below which the integrator is locked
...
This is to allow for slow speed flare manoeuvres in FBW modes
12 years ago
Paul Riseborough
3ad35363be
Plane : APM_Control : Removed scaler incorrectly applied to the integrator path
12 years ago