Tom Pittenger
0a95785ff0
APM_Control: rename dataflash to logger
2019-03-28 16:40:57 +11:00
IamPete1
49ec059420
APM_Control: add function to relax rover i terms
2019-02-27 08:51:24 +09:00
Tom Pittenger
752804c2a5
APM_Control: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
Andrew Tridgell
d7f90963ea
APM_Control: fill in Act field of PID logs for plane
2019-01-28 09:38:32 +09:00
Nathan E
548a573803
Update AP_YawController.cpp
2019-01-23 09:24:18 -07:00
Nathan E
f9aac6919c
Update AP_RollController.cpp
2019-01-23 09:24:18 -07:00
Nathan E
fbb2252fd9
Update AP_PitchController.cpp
2019-01-23 09:24:18 -07:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
d1f5bcb1ab
APM_Control: stop taking reference to dataflash, use singleton
2019-01-18 14:14:22 +11:00
Peter Barker
b276034c60
APM_Control: correct use of incorrect abs functions
2018-10-19 08:46:43 +11:00
IamPete1
e443b864c6
AR_AttitudeControl: add sail heel PID
2018-09-28 10:40:12 +09:00
Andrew Tridgell
3ab7fe348a
APM_Control: halve the default pitch D term for planes
...
this is based on feedback from the 3.9.1 release
2018-09-14 07:32:13 +10:00
Randy Mackay
d7d6c6ab04
AR_AttitudeControl: clarify units of get_steering_out_heading argument
...
also update comments
2018-09-11 14:39:50 +09:00
Randy Mackay
96097586c3
AR_AttitudeControl: reset I if speed controller not called recently
2018-09-04 15:00:41 +09:00
Randy Mackay
106b8abab7
AR_AttitudeControl: get_throttle_out_from_pitch accepts vehicle speed
2018-08-27 16:44:33 +09:00
Randy Mackay
d5ef3c2e0f
AR_AttitudeControl: get_throttle_out_from_pitch uses motor limits
...
This allows removing I-term build up from throttle hitting 100%
2018-08-27 16:44:33 +09:00
Randy Mackay
65b020eac3
AR_AttitudeControl: re-order pitch control to match other similar methods
2018-08-27 16:44:33 +09:00
Andrew Tridgell
9e2933df89
APM_Control: raised default PID gains for roll/pitch
2018-08-17 20:42:25 +10:00
Randy Mackay
1c18d06aa3
AR_AttitudeControl: move unnecessary else
2018-08-06 11:30:22 +09:00
Randy Mackay
9b60e0844b
AR_AttitudeControl: add get_desired_pitch accessor
2018-08-06 11:30:22 +09:00
Ebin
ccb32cf357
APM_Control: BRAKE param default is true
2018-07-20 14:41:32 +10:00
Ebin
1dc1b28234
APM_Control: changed default PID for Balance Bot
2018-07-20 14:41:32 +10:00
Randy Mackay
9eebb6225a
AR_AttitudeControl: brake fix to set limit in only one direction
2018-07-19 09:04:50 +08:00
Ebin
30b3d63e8a
APM_Control: New default PID values for balance bots
2018-07-06 19:41:09 +10:00
Ebin
ce182fd307
APM_Control: fixed test condition in AR_AttutudeControl.cpp
2018-07-06 19:41:09 +10:00
Ebin
97a260a980
APM_Control: get_throttle_out_from_pitch() accepts dt as argument
2018-06-28 21:55:20 +09:00
Ebin
657ff06380
APM_Control: added balancing function for BalanceBot
2018-06-28 21:55:20 +09:00
Randy Mackay
5e7b37f0b2
AR_AttitudeControl: remove constraint on steering output
2018-06-12 17:44:10 +09:00
Ammarf
b614ca9b75
AR_AttitudeControl: disable limits when _ACCEL_MAX is zero
2018-06-11 08:54:59 +09:00
Randy Mackay
67475a9eaa
AR_AttitudeControl: reset turn-rate I term if not run for 0.2sec
2018-06-01 15:06:13 +09:00
disgruntled-patzer
2c41db9e4d
AP_RollController.cpp: Updated description of ArduPlane Roll Controller for accuracy
...
AP_RollController's get_servo_out function does not return an elevator deflection as was previously described in the function comments.
Instead, it should return an aileron deflection. Thus, the function description should be updated to reflect this more accurately
2018-05-30 09:46:08 +09:00
Randy Mackay
e691b680ca
AR_AttitudeControl: add speed-control-active method
...
allows caller check if speed controller if active
also consolidated other methods to use this check to reduce a little bit of duplicate code
2018-05-29 16:37:31 +09:00
Randy Mackay
3b71d0360a
AR_AttitudeControl: const get_decel_max and get_stopping_distance
2018-05-29 16:37:31 +09:00
Michael du Breuil
84b1a6a58b
APM_Control: Supress some compilier warnings about strncpy
2018-05-29 00:10:40 +01:00
Randy Mackay
a7fbfe7767
AR_AttitudeControl: caller provides dt instead of calculated internally
...
This allows the vehicle's main loop rate to be used instead of an internally calculated dt which suffers from jitter
2018-05-24 11:06:20 +09:00
Randy Mackay
c032095c80
AR_AttitudeControl: reduce default accel max to 2m/s/s
2018-05-24 11:06:20 +09:00
Randy Mackay
856d592b1d
AR_AttitudeControl: accel limit stops
2018-05-24 11:06:20 +09:00
Ammarf
832778e471
AR_AttitudeControl: add separate decel limit
2018-05-23 17:17:29 +09:00
Randy Mackay
f6c06496e2
AR_AttitudeControl: fix accel limiting
2018-05-21 10:28:56 +09:00
Ammarf
a9ee949c32
AR_AttitudeControl: limit desired steering rate
2018-05-21 09:48:43 +09:00
Randy Mackay
56672c1c28
AR_AttitudeControl: fix get_steering_out_rate use of max turn rate and acceleration
2018-05-10 20:37:28 +09:00
Randy Mackay
9feaf9cfdd
AR_AttitudeControl: const some internal variables
...
non-functional change
2018-05-10 20:37:28 +09:00
Randy Mackay
fa76a7c904
AR_AttitudeControl: get-steering-out-lat-accel uses negative speeds
2018-05-10 08:02:13 +09:00
Randy Mackay
5563691bd1
AR_AttitudeControl: assume positive steering output rotates vehicle clockwise
...
also remove steering scaling by speed which has been moved to AR_MotorsUGV
2018-05-10 08:02:13 +09:00
Randy Mackay
ce44326ba8
AR_AttitudeControl: fix get_steering_out_heading while reversing
2018-05-06 16:58:00 +09:00
Randy Mackay
0f9b679e98
AR_AttitudeControl: increase angle err P and reduce steering accel max defaults
2018-04-26 14:16:22 +09:00
Randy Mackay
3f1f68b130
AR_AttitudeControl: support vectored thrust
...
steering output is not scaled for speed
steering integrator does not build up at low speed
2018-04-24 19:57:19 +09:00
Randy Mackay
9c2da896b9
AR_AttitudeControl: get_throttle_out_stop only stops once desired speed reaches zero
...
this reduces the final jerk to a when transitioning from forward to reverse and in cases where ATC_ACCEL_MAX is small
2018-04-24 12:24:53 +09:00
Randy Mackay
365e1030db
AR_AttitudeControl: separate speed limiting to new method
...
This allows the desired speed limiting (by acceleration) to be done before the speed-to-throttle PID controller is run.
This is required so the avoidance calls (which work on the desired speed) can be run after limiting but before the PID controllers
2018-04-24 12:24:53 +09:00