1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

1055 Commits

Author SHA1 Message Date
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
a*morale
68ecefa0fd LP-124 - Rename Pitch/RollRatePid to EasyTuneRatePitch/Roll, UAVO and firmware fixes 2015-09-19 15:03:17 +02:00
Laurent Lalanne
8885180fde LP-114 Add Accessory3 as input - TxWizard and Multirotor Accessory
mapping
2015-09-11 00:04:31 +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
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
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
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
3cf8f10126 Merged in thread/LP-69_SRXL_CC_Support (pull request #13)
LP-69 Added SRXL support to CopterControl targets.
2015-07-31 14:40:24 +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
m_thread
9ba63ea124 LP-69 Added SRXL support to CopterControl targets. 2015-07-30 15:30:59 +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
a*morale
62a585c188 LP-5 - Include missing UAVOs, add removed cc fields into hwsettings 2015-07-15 00:07:50 +02:00
m_thread
9ce00a18f0 REVONANO: Added limit for ComBridge on Nano receiver port.
Fixed Revo Hw config page to handle ComBridge on Receiver port
correctly.
Changed some alignments in GUI.
2015-06-04 22:18:16 +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
78b56b29e0 REVONANO Tuning of altvario and braking 2015-05-28 08:47:26 +10:00
abeck70
a232bb393e Merge branch 'samguns/OP-xxxx_Remove_PWM_RX_while_use_OneShot' into abeck/nano-rc4-fixes 2015-05-26 21:03:14 +10:00
samguns
8551048354 REVONANO 1. Sanity check for PWMSync & OneShot while using PWM receiver. 2. Remove CC in hwsettings.xml 2015-05-26 15:01:01 +08:00
abeck70
bddb9377a4 REVONANO Land and Takeoff uav changes removing abort state. 2015-05-25 22:25:07 +10:00
abeck70
cdf1b88cc0 REVONANO VelocityRoam fixes
1. New VelocityRoamHorizontalVelPID to allow tuning of VR independent of pathfollower nav modes
2015-05-25 22:24:06 +10:00
Steve Evans
a0d6de4e1d Merge branch 'rel-nano-15.05' into steve/OP-1904_Display_current_TxPID_settings_on_OSD 2015-05-24 13:00:44 +01:00
Steve Evans
5a9ee46742 OP-1904 Initial commit 2015-05-23 21:55:19 +01:00
Steve Evans
b2dd03cf23 OP-1903 Add AccelTau, AccelKp and AccelKi to TxPID 2015-05-23 14:00:50 +01:00
abeck70
b3817007c4 REVONANO update limits 2015-05-23 22:25:22 +10:00
abeck70
064a5e831b OP-1898 VelocityRoam gets its own MaxRollPitch
This allows smoother velocityroam flight
2015-05-22 21:23:10 +10:00
abeck70
c272c4d4fc OP-1898 VelocityRoam AltVario update tuning values based on FTT feedback 2015-05-22 19:07:06 +10:00
abeck70
ee43c53cee Merge branch 'rel-nano-15.05' into abeck/OP-1898-VR 2015-05-22 18:46:09 +10:00
abeck70
22b2317732 Merge branch 'theothercliff/OP-1464_Handle_Autobaud_code_for_GPS' into rel-nano-15.05 2015-05-22 18:34:17 +10:00
abeck70
55b3b52c4f OP-1898 VelocityRoam flight mode
Replace PositionRoam with VelocityRoam

Make VelocityRoam an explicit flight mode to simplify access

Disable PositionRoam as not supported and not suitable to retain.
2015-05-22 17:34:43 +10:00
Cliff Geerdes
ced0d4725b OP-1464 Rename things as requested Implement autodisable as advised by Alessio 2015-05-21 04:37:44 -04:00
Cliff Geerdes
55a43d1815 OP-1464 Compile warning discovery Remove AbConfStoreDisable 2015-05-20 01:04:06 -04:00
Cliff Geerdes
244c9e2d5e Merge branch 'rel-15.05' into theothercliff/OP-1464_Handle_Autobaud_code_for_GPS 2015-05-19 21:57:34 -04:00
Cliff Geerdes
de521c9004 OP-1464 tested version with debug still in place 2015-05-19 19:33:31 -04:00
Cliff Geerdes
92295559b0 OP-1464 GPS autobaud - stash while debugging newobject issue 2015-05-18 18:37:53 -04:00
Alessio Morale
1ce23d722c REVONANO - Raise the number of leds supported to 10, added limits 2015-05-18 21:30:05 +02:00
m_thread
300a2c38ca REVONANO - Added limits for receiver port enum on nano. 2015-05-18 21:30:02 +02:00
Alessio Morale
15e7286078 MPU9K - merge 9k and 6k settings into a single uavo 2015-05-18 21:29:56 +02:00
Stefan Karlsson
3d0607c4dc Fix broken GPS UAVO 2015-05-18 21:29:56 +02:00
Mathieu Rondonneau
66b06e4c9a REVONANO - Add MPU9250 support 2015-05-18 21:29:42 +02:00
abeck70
f76fee6810 OP-1884 New defaults for GyroTau and Lowpass mpu filter 2015-05-16 22:47:34 +10:00
abeck70
8cb7aeacf7 OP-1882 set thrust control to auto as default 2015-05-16 22:32:22 +10:00
abeck70
1e9f7d9892 OP-1847 update vertical velicity Kp 2015-05-16 22:31:42 +10:00
abeck70
f4d1fc13ec OP-1847 gps assist fixes
1. Update vtol vertical pids
2. Reduce deadband on throttle in gpsassist auto throttle to avoid large deviations in throttle change from neutral
3. Reinitialise assisted control state on mode change where the flight is the same but only gpsassist is going from disabled to enabled or enabled to disabled.
2015-05-14 20:07:07 +10:00