1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
Commit Graph

1093 Commits

Author SHA1 Message Date
Laurent Lalanne
f20adf00f5 LP-214 Add Fpv Camera tilt compensation 2016-01-24 16:35:32 +01:00
Lalanne Laurent
4fabce011a Merged in f5soh/librepilot/LP-204_Fast_invsqrtf_issue (pull request #147)
LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf()
2016-01-09 12:59:47 +01:00
Philippe Renon
6b39fc0800 uncrustify 2016-01-04 21:41:45 +01:00
Laurent Lalanne
71a0a563f1 LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf() 2015-12-26 14:26:36 +01:00
Laurent Lalanne
309f5db956 LP-191 Receiver activity : Increase min range value and allow all Sbus
channels scanning.
2015-12-04 20:36:51 +01:00
Laurent Lalanne
2295208abe LP-182 Add empty line before #ifdef and after #endif 2015-11-14 14:27:12 +01:00
Laurent Lalanne
705bd2a483 LP-182 Set telemetry port baudrate settings or still to default 57600. 2015-11-13 15:18:17 +01:00
Cliff Geerdes
e0a805518f LP-73 uncrustify 2015-10-25 23:59:52 -04:00
Cliff Geerdes
7de55812dd LP-73 changes for pull request comments 2015-10-24 12:09:22 -04:00
Cliff Geerdes
d9b7a0bb00 LP-73 port extmag to all other boards 2015-10-24 12:09:21 -04:00
Cliff Geerdes
b086d1a021 LP-73 ExtMag fix some more watchdog issues 2015-10-24 12:09:20 -04:00
Cliff Geerdes
d4b0d106f8 LP-73 External Mags on I2C initial coding 2015-10-24 12:09:19 -04:00
Stefan Karlsson
51f0b74e5c LP-129 Remove broken motor scaling modes 2015-09-24 23:02:09 +02:00
Stefan Karlsson
2ab6390cf5 LP-128 Fix scaleMotor attitude problems
The ElevateAndCompress scaling mode doesn't scale linearly as intended
and causes motors to reach the max limit prematurely.

A new mode, MoveAndCompress, has been implemented to get better linear
scaling of the motor output values.
2015-09-22 21:25:56 +02:00
Alessio Morale
f3b44ebd50 Merged in alessiomorale/librepilot/amorale/LP-89_port_150501_fixes (pull request #66)
Amorale/lp 89_port_150501_fixes
2015-09-21 12:35:36 +02:00
Alessio Morale
d20d1ab295 LP-89 - Port OP_15.05.01 fixes. Release notes:
--- RELEASE-15.05.01 HOTFIX --- Banana Split ---
This release fixes an important bug.  All Revolution hardware running 15.05 should upgrade to 15.05.01. Note that this is a hotfix; it can
simply be flashed without an erase settings. Furthermore, please review your vtolpathfollowersettings:HorizontalVelMax; a value of around 4m/s would be more appropriate for preliminary trialing of a new release and will be changed in future.

Release Notes - OP Next Generation - Version OP15.05.01

** Bug
    * [NG-55] - 15.05 PositionHold exhibits fly-away behaviour at the vtolpathfollowersettings maxRollPitch and HorizontalVelMax values.
---
 WHATSNEW.txt                                      | 13 ++++++++++-
 flight/libraries/pid/pidcontroldown.cpp           | 26 ++++++++++-----------
 flight/libraries/plans.c                          | 28 +++++++++++++++++++----
 flight/modules/PathFollower/inc/pidcontrolne.h    |  1 -
 flight/modules/PathFollower/pidcontrolne.cpp      | 23 +++++++++++++++----
 flight/modules/PathFollower/vtolflycontroller.cpp | 16 ++++++++-----
 6 files changed, 77 insertions(+), 30 deletions(-)
2015-09-19 16:05:49 +02:00
a*morale
68ecefa0fd LP-124 - Rename Pitch/RollRatePid to EasyTuneRatePitch/Roll, UAVO and firmware fixes 2015-09-19 15:03:17 +02:00
Alessio Morale
b6515a2117 LP-123 - EasyTune for yaw should only be enabled if any other (roll/pitch) option is also enabled 2015-09-19 12:04:37 +02:00
Alessio Morale
3e7a53beaf Merged in f5soh/librepilot/laurent/LP-114_Add_accessory_input_channel (pull request #54)
LP-114 Add accessory input channel
2015-09-15 23:21:04 +02:00
Laurent Lalanne
8885180fde LP-114 Add Accessory3 as input - TxWizard and Multirotor Accessory
mapping
2015-09-11 00:04:31 +02:00
Stefan Karlsson
a7c592b294 LP-115 Fix TPS and Acroplus settings setup
Both TPS and Acroplus had settings initialized in SettingsUpdatedCb.
These values comes from stabSettings.stabBank, which isn't initialzed
when SettingsUpdatedCb is first called.

The patch moves the setup of the affected settings values to
BankUpdatedCb, where other bank specific settings are updated.
2015-09-09 01:27:20 +02:00
Alessio Morale
bc89c79b7d Merged in skarlsso/librepilot/skarlsso/LP-107_scaleMotor_bug (pull request #46)
skarlsso/lp 107_scalemotor_bug
2015-09-08 15:27:51 +02:00
a*morale
792835c009 Uncrustify 2015-09-05 11:49:43 +02:00
Alessio Morale
fb3e65e057 LP-44 - some optimizations and cleanup 2015-09-03 07:26:40 +02:00
Laurent Lalanne
69125e8e9d LP-44 Save RAM : Use float UAVO type only when needed. 184bytes saved 2015-09-03 07:26:06 +02:00
Stefan Karlsson
71f6e82399 LP-107 Use scaleChannel for unscaled motor outputs 2015-09-01 21:17:52 +02:00
Stefan Karlsson
f7b8a57e42 LP-107 Replace the scaling function in scaleMotors
The previous scaling function used in scaleMotor could end up with
output values below the neutral point.

This patch adds a new scaling mode that will try to scale the output
proportionally while still keep all outputs within neutral and max.

The user can select three different modes:
1) NoScaling - Only cap the output values between neutral and max.
2) AddAndSubtract - The previous output scaling method, which moves the
   output values directly proportionally to the amount the max/min motor
    is out of the limits.
3) ElevateAndCompress - The new mode, which elevates all motor values by
   the percentage needed to bring the min motor to neutral, and then
   compress all motor values by the percentage needed to bring the max
   motor down to max.

The motor scaling mode can be selected by setting the
FlightModeSettings.MotorScalingMode UAVO field.
2015-08-31 21:29:48 +02:00
Alessio Morale
538a137bf6 Merged in f5soh/librepilot/laurent/LP-92_Feed_forward_remove (pull request #33)
Laurent/lp 92_feed_forward_remove
2015-08-21 13:35:10 +02:00
Alessio Morale
43ca4b01af Merged in rbekken/librepilot/copyright_update (pull request #32)
Update all changed files against GIT log with copyright headers consistency.
2015-08-21 13:34:37 +02:00
Roy Bekken
ad84547637 Update all changed files against GIT log with copyright headers consistency. 2015-08-19 16:15:58 +02:00
Laurent Lalanne
670dbfe9ce LP-92 Remove Feed Forward : flight / ground 2015-08-14 10:54:12 +02:00
Alessio Morale
74c69e033c LP-67 - Fix checkbox yaw recalc checkbox, allow yaw recalc flag changes to trigger a yaw recalc 2015-08-14 10:24:19 +02:00
Alessio Morale
ee461ff303 LP-67 handle full PIDs terms with a single knob for each axis (roll/pitch).
The new setting will work this way:
- Input (knob) value is used straight as roll or pitch P term;
- P term is mutliplied by two configurable factors and used as D and I terms;
- (Optionally) Yaw P term is calculated from a mean of roll and pitch P terms multiplied by a configurable factor.
- yaw P term is multiplied by other two configurable factors and used as yaw D and I terms.
2015-08-14 10:24:18 +02:00
alessio morale
05494eebcc Merged in f5soh/librepilot/laurent/LP-66_FixedWing_Roll_differential (pull request #9)
LP-66 - Add differential Roll mixing to Fixed Wing frames
2015-07-31 14:38:28 +02:00
Alessio Morale
13f02e7d9d LP-56 - Better txpid option namings, fix tabs-spaces, tooltips. headers, variable namings 2015-07-30 18:23:55 +02:00
Laurent Lalanne
31c30d752f LP-66 Fixed wing : Roll differential mixing on flight side 2015-07-29 06:36:22 +02:00
Alessio Morale
7b3aed3de9 LP-56 - Allows a single txpid instance to handle Roll&Pitch
Also populate combos with current txpid values
2015-07-27 22:45:33 +02:00
Alessio Morale
7973ab9d0a LP-56 - Use separate roll/picth factors and add firmware support 2015-07-25 00:29:41 +02:00
Alessio Morale
711ef272c1 LP-5 - Use a single Task for telemetry when no radio is available 2015-07-16 01:01:02 +02:00
a*morale
1ef9fc51d6 LP-5 - exclude AH from outerloop 2015-07-15 00:07:51 +02:00
abeck70
afc62f61aa OP-1875 add issing AuxMagsSettings initialise call 2015-06-05 17:28:05 +10:00
Corvus Corax
58e0db791c OP-1875 reinit ekf on mag source change 2015-06-04 13:49:42 +02:00
Steve Evans
d41808ecaf Merge branch 'rel-nano-15.05' into steve/OP-1904_Display_current_TxPID_settings_on_OSD 2015-05-30 12:14:47 +01:00
abeck70
c8ff29c404 Merge remote-tracking branch 'origin/steve/OP-1903_Add_TxPID_controls_for_AttitudeSettings' into rel-nano-15.05 2015-05-30 19:31:46 +10:00
abeck70
2ad52f770c REVONANO store thrustdemand before uavo set 2015-05-29 21:45:41 +10:00
abeck70
0ffd9e764d REVONANO fix compile error in vtolbrakefsm 2015-05-29 09:04:59 +10:00
abeck70
78b56b29e0 REVONANO Tuning of altvario and braking 2015-05-28 08:47:26 +10:00
abeck70
0ea8260a87 REVONANO Truely disarm on pathfollower guidance alarm 2015-05-26 17:29:51 +10:00
abeck70
4a78602da2 REVONANO Guidance alarm clearing on change of mode 2015-05-25 22:26:06 +10:00
abeck70
bddb9377a4 REVONANO Land and Takeoff uav changes removing abort state. 2015-05-25 22:25:07 +10:00