aboutsummaryrefslogtreecommitdiff
path: root/apps/fixedwing_control/fixedwing_control.c
diff options
context:
space:
mode:
authorDoug Weibel <deweibel@gmail.com>2012-10-07 14:46:26 -0600
committerDoug Weibel <deweibel@gmail.com>2012-10-07 14:46:26 -0600
commit2bb1d17c7e312e6f60bcd6e8f1ac6698fe623060 (patch)
treeb5084f8eeff47c6acd6eaf49aa66d38c9630fc4b /apps/fixedwing_control/fixedwing_control.c
parent2fa0dec36954b0f3c99da0a443a9c51a7a0479c5 (diff)
downloadpx4-firmware-2bb1d17c7e312e6f60bcd6e8f1ac6698fe623060.tar.gz
px4-firmware-2bb1d17c7e312e6f60bcd6e8f1ac6698fe623060.tar.bz2
px4-firmware-2bb1d17c7e312e6f60bcd6e8f1ac6698fe623060.zip
Changes to the PID controller. Adds "limit" to the parameter set. Implements an output limit where the output magnitude is limited by the parameter value "limit". Also changes the integrator saturation such that the integrator is not updated (added to) if either updating it will cause the integrator values magnitude to exceed "intmax" or if the output magnitude would exceed "limit" with an updated integrator value.
Arbitrary large limit values were hard coded into multirotor_attitude_control.c. These should be changed to parametric values or something sensible. This commit will temporarily break fixedwing_control.c. A following commit will repair it along with significant changes to the inner loop control. This commit has been tested to compile with fixedwing_control.c temporarily removed. No other testing has been completed.
Diffstat (limited to 'apps/fixedwing_control/fixedwing_control.c')
0 files changed, 0 insertions, 0 deletions