Leonard Hall
30746267ec
AC_AttitudeControl_Heli: support for updates to AC_PID library
...
includes rename get_leaky_i to update_leaky_i
6 years ago
Peter Barker
70aed0f29c
AC_AttitudeControl: store acro passthrough values as float
...
The function which sets these has floats, and the function we send them
to uses floats... so store them as floats...
6 years ago
Peter Barker
7e3ca19308
AC_AttitudeControl: add override keyword in many places
6 years ago
Leonard Hall
6175a896ee
AC_AttitudeControl: add set smoothing gain
...
Smoothing gain value should be set once when entering a mode
7 years ago
ChristopherOlson
569f55f5c6
AC_AttitudeControl:TradHeli - fix for alt_hold angle limiter active at hover collective in Traditional Helicopters
...
add definition for max collective/throttle for helicopters that compensates for negative collective pitch range
and sets proper collective overhead before alt_hold angle limiter becomes effective
7 years ago
Andrew Tridgell
f2efea4e1d
AC_AttitudeControl: added inverted flight support
...
for helis
7 years ago
Randy Mackay
67097c8d59
AC_AttitudeControl: use gyro_latest
...
This allows moving the attitude control before the ahrs/ekf update
We continue to use ahrs.get_gyro for the non-time-critical heli
passthrough functions. We should avoid using get_gyro_latest() unless we know there is a direct benefit because it could lead to inconsistent gyro values vs what the EKF is using.
8 years ago
Andrew Tridgell
1345bf8737
AC_AttitudeControl: added support for AP_AHRS_View
...
this allows for tailsitters with a different attitude view
8 years ago
Andrew Tridgell
5cf1c0869d
AC_AttitudeControl: expose all functions via abstract class
...
this allows for a single class to be used for heli and multicopter
8 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
Leonard Hall
8737f6b62d
AC_AttitudeControl: enhanced quaternion attitude controller
9 years ago
Randy Mackay
dafc45eb26
AC_AttitudeControl: move get_althold_lean_angle_max to parent class
9 years ago
Leonard Hall
3d27ecca92
AC_AttitudeControl: add TC for Alt_Hold angle limit
9 years ago
Leonard Hall
25c77c154f
AC_AttitudeControl: rename get_boosted_throttle to get_throttle_boosted
9 years ago
Leonard Hall
35ef761deb
AC_AttitudeControl: Move set_throttle_out to _Multi and _Heli
9 years ago
Andrew Tridgell
9bf0ada875
AC_AttitudeControl: removed use of AFF for tail control in heli
9 years ago
Randy Mackay
6c91e50f8c
AC_AttControl_Heli: remove scaling for centi-degrees and legacy motor input
9 years ago
Randy Mackay
7f2c1f830f
AC_AttControl_Heli: add rate PIDs
9 years ago
Randy Mackay
c49a914597
AC_AttControlHeli: remove unnecessary virtual declaration
9 years ago
Lucas De Marchi
f42484bcc5
AC_AttitudeControl: replace header guard with pragma once
9 years ago
Jonathan Challinger
5919e95635
AC_AttitudeControl: add input_ prefix to input shaper functions
9 years ago
Jonathan Challinger
bba360ea2b
AC_AttitudeControl: correct bugs found in review
9 years ago
Jonathan Challinger
7330de86e5
AC_AttitudeControl: change internals to use radians instead of centidegrees
9 years ago
Andrew Tridgell
d8ee9feaac
AC_AttitudeControl: fixed external tail gyro with no flybar
...
this sets up the tail pass-through for acro mode
9 years ago
Robert Lefebvre
1bc13fb9c0
AC_AttitudeControl_Heli: Add Hover Roll Trim Scalar
9 years ago
Robert Lefebvre
0b33ef3862
AC_AttitudeControl: Add Hover Roll Trim functionality for helicopters.
9 years ago
Robert Lefebvre
b8ce23970d
AC_AttitudeControl_Heli: Implement Pirouette Compensation
9 years ago
Robert Lefebvre
f39ac7c900
AC_AttitudeControl_Heli: Add initialization of _flags_heli members
9 years ago
Leonard Hall
29ff5035b4
AC_AttControl: limit lean angle from throttle
10 years ago
Gustavo Jose de Sousa
d49f10d2e5
AC_AttitudeControl: 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
Randy Mackay
157c97447d
AC_AttControlHeli: init passthrough_yaw
10 years ago
Randy Mackay
8b4805bfcb
AC_AttControl_heli: add MotorsHeli include
10 years ago
Andrew Tridgell
eeb97800ae
AC_AttitudeControl: allow for tail pass-thru in ACRO mode
...
this allows for all channels to be passed through
10 years ago
Robert Lefebvre
18bac524a3
Copter: TradHeli, change Rate FF LPF to 10Hz
10 years ago
Robert Lefebvre
353879cd2b
AC_AttitudeControl_Heli: Add Rate Accel FF to Yaw control
10 years ago
Robert Lefebvre
810b12a1ac
AC_AttitudeControlHeli: Change Rate Yaw FF LPF from 5Hz to 10Hz.
10 years ago
Randy Mackay
3781f133d7
AC_AttControlHeli: remove unused definitions
10 years ago
Tom Pittenger
84d3069a77
AttControl_Heli: fix compile warning re member init order
10 years ago
Jonathan Challinger
87500d9d70
AC_AttitudeControl: use new lowpass filter
10 years ago
Jonathan Challinger
518e798f53
AC_AttitudeControl: rework angle_boost
10 years ago
Randy Mackay
691a3d8126
AC_AttControlHeli: add passthrough_bf_roll_pitch_rate_yaw
11 years ago
Robert Lefebvre
7d3e22af59
AC_AttitudeControl_Heli: Add use_flybar_passthrough accessor function.
11 years ago
Robert Lefebvre
9b1d9e3cf0
AC_AttitudeControl_Heli: Add passthrough_to_motor_roll_pitch function.
11 years ago
Robert Lefebvre
5c04af6d20
AC_AttitudeControl_Heli: Create Flybar Passthrough flag which will be used for control pass-through.
11 years ago
Jonathan Challinger
6e66cf43cb
AC_AttitudeControl: Use bias-corrected angular rates instead of raw gyro measurements
11 years ago
Andrew Tridgell
8af876fe8a
AC_AttitudeControl: fixed build
...
includes are case sensitive on the build server
11 years ago
Robert Lefebvre
26be7aed97
AC_AttControl_Heli: Add LPF filter to Rate Feedforward terms
11 years ago
Robert Lefebvre
7c9249de93
AC_AttitudeControl_Heli: Change to use AC_HELI_PID class instead of AC_PID. Remove FF parameters from class.
11 years ago
Randy Mackay
451910fc94
AC_AttControlHeli: replace APM_PI with AC_P
11 years ago
Randy Mackay
8baf5ebf4a
AC_AttControlHeli: use motor accessors to set roll, pitch, yaw, thr
11 years ago