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

5743 Commits

Author SHA1 Message Date
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
Lalanne Laurent
8fe6ba2e2e Merged in f5soh/librepilot/LP-198_Detect_ppm_signal_lost (pull request #139)
LP-198 Detect ppm signal lost
2016-01-09 12:56:51 +01:00
Fredrik Arvidsson
bc80c66c2b LP-196 Removed some leftover code and definitions. 2016-01-07 14:22:52 +01:00
Fredrik Arvidsson
359266ab7a LP-104 Removed support for HoTT on Main port on coptercontrol target since it does not work. 2016-01-07 13:01:46 +01:00
Fredrik Arvidsson
08237a1ff5 LP-196 Removed EX.Bus on Main port for CopterControl target since it is not working. 2016-01-06 17:17:02 +01:00
Fredrik Arvidsson
c8edd023a2 LP-196 Cleaned up some code. 2016-01-06 17:16:02 +01:00
Fredrik Arvidsson
534ff1ff3c LP-196 Added Auto-Baud-Rate code. Will toggle between high (125 KBaud) and low (250 KBaud) baud rate every EXBUS_BAUD_RATE_LIMIT (set to 64 right now).
Cleaned out some unused variables.
2016-01-05 14:03:15 +01:00
Philippe Renon
6b39fc0800 uncrustify 2016-01-04 21:41:45 +01:00
unknown
d00c169dbb LP-196 Fixed bug in Ex.Bus decoder and changed baud rate for UART to 125 kbaud. 2016-01-03 18:27:14 +01:00
Alessio Morale
b099571e05 LP-207 - Inline some util functions 2015-12-29 23:25:35 +01:00
Alessio Morale
fe217796b5 LP-207 - Implement Fast callback option 2015-12-29 23:25:30 +01:00
Laurent Lalanne
71a0a563f1 LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf() 2015-12-26 14:26:36 +01:00
Fredrik Arvidsson
4b8582a3ad LP-196 Added support for targets Revolution and RevoNano. 2015-12-26 13:08:07 +01:00
Fredrik Arvidsson
3e920bc5bc LP-196 Added driver for Jeti EX.Bus protocol. Added support for CopterControl target on Main and Flexi port. This is WIP and not tested yet. 2015-12-26 12:29:04 +01:00
Fredrik Arvidsson
879c8fc9b9 LP-104 Correction of @author tag when multiple authors are present. 2015-12-22 18:00:49 +01:00
Fredrik Arvidsson
3d56c4f384 LP-104 Updated copyright headers with LibrePilot 2015-12-22 09:23:57 +01:00
Fredrik Arvidsson
68ff383637 LP-104 Adding HoTT support for Revolution and Revo Nano. 2015-12-20 23:45:37 +01:00
Fredrik Arvidsson
5273df263c LP-104 Reverted stack size for receiver module after testing. 2015-12-20 21:11:15 +01:00
Fredrik Arvidsson
7a95050381 LP-104 Added missing code to receiver.c to detect receiver activity. This probably caused a crash on any activity of the HoTT receiver.
Added 40 bytes to the receiver stack.
Added options to receiver activity.xml uavo definition.
2015-12-20 13:36:45 +01:00
Fredrik Arvidsson
e6d4638201 LP-104 Adds support for Graupner HoTT SUMD/SUMH serial protocol used by receivers on Main and Flexi port.
Still work in progress. Only supports CopterControl target and crashes on input :(
2015-12-20 11:08:15 +01:00
Laurent Lalanne
aff3f4bd3a LP-198 Detect PPM signal lost for stm32f4xx familly 2015-12-18 15:12:44 +01:00
Ákos Máté
f2867fbba1 Workaround for the turnigy 9x stock receiver with PPM encoder.
LP-198 The receiver holds the last value on channel 4 and 5, when no signal.
Without the workaround, CC3D can not detect the loss of signal.
2015-12-18 15:09:25 +01:00
Lalanne Laurent
3faa8d621a Merged in f5soh/librepilot/LP-191_Txwizard_more_robust (pull request #133)
LP-191 Receiver activity : Increase min range value and allow all Sbus channels scanning.
2015-12-17 16:54:06 +01:00
Lalanne Laurent
32337668a6 Merged in f5soh/librepilot/LP-195_Update_World_Mag_Model (pull request #135)
LP-195 Update to lasted world mag model : WMM2015
2015-12-17 16:53:18 +01:00
Cliff Geerdes
c65702b1d3 LP-83 fix two known bricking scenarios 2015-12-16 01:46:59 -05:00
Alessio Morale
ff335072d0 Merged in paul_jewell/librepilot/LP-119_fix_pios_msheap (pull request #58)
Changed incorrect #if to #ifdef in pios_msheap.c
2015-12-13 19:11:46 +01:00
Alessio Morale
48653de561 Merged in physicsboy0709/librepilot/add_stm32f427family_support (pull request #91)
LP-149 Add STM32F427/429/437/439 chip support, preparation for brand new board. and minor fixes
2015-12-13 19:11:25 +01:00
Laurent Lalanne
108bd8edb4 LP-195 Update to lasted world mag model : WMM2015 2015-12-13 12:59:25 +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
Cliff Geerdes
bb04d62756 LP-145 uncrustify and comments 2015-11-15 18:42:47 -05:00
Cliff Geerdes
44a57cb308 LP-145 reduce UBX false positive red X from 1 in 256 NMEA packets to 1 in 64k 2015-11-15 18:13:51 -05:00
Cliff Geerdes
f0ef594cdb LP-145 CC3D GPS reparse and general GPS system health 2015-11-15 03:44:28 -05: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
Alessio Morale
70faa04b0a LP-97 - Move board init function declarations to a pios_board_init.h, fix some headers 2015-11-08 18:47:31 +01:00
Cliff Geerdes
e0a805518f LP-73 uncrustify 2015-10-25 23:59:52 -04:00
Cliff Geerdes
5cb042e703 LP-73 fw_gpsplatinum build 2015-10-24 14:57:12 -04:00
Cliff Geerdes
d5bdc41fb9 LP-73 finish the merge with next 2015-10-24 13:14:52 -04:00
Cliff Geerdes
04e3bbd4ce LP-73 fix fw_osd build poke wdg in startup 2015-10-24 12:23:13 -04:00
Cliff Geerdes
afc96267d3 LP-73 use simple timed DataAvailable 2015-10-24 12:23:12 -04:00
Cliff Geerdes
7de55812dd LP-73 changes for pull request comments 2015-10-24 12:09:22 -04:00
Cliff Geerdes
a110eeda21 LP-73 Remove changes to CopterControl 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
Tianhe Wang
033180b986 pios_msheap.c edited online with Bitbucket
revert this file, there is already another pull request.
2015-10-13 13:13:11 +00:00
physicsboy0709
1807c5c27e modified: flight/pios/common/libraries/msheap/pios_msheap.c
modified:   flight/pios/stm32f4xx/library.mk
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_bl_memory.ld
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_fw_memory.ld
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_sections.ld
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_sections_compat.ld
	modified:   flight/pios/stm32f4xx/pios_bl_helper.c
	modified:   flight/pios/stm32f4xx/pios_flash_internal.c
	modified:   flight/pios/stm32f4xx/pios_sys.c
2015-10-12 14:38:30 -04:00
Alessio Morale
b1cc3926df Merged in skarlsso/librepilot/skarlsso/LP-129_remove_broken_scalemotor_modes (pull request #75)
LP-129 Remove broken motor scaling modes
2015-09-27 13:47:29 +02:00
Stefan Karlsson
51f0b74e5c LP-129 Remove broken motor scaling modes 2015-09-24 23:02:09 +02:00
a*morale
84950bd413 Uncrustify 2015-09-24 22:33:57 +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
627185c0ce LP-89 - changes to adhere to LP code style and requirements. 2015-09-19 16:05:49 +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
Alessio Morale
d67f15713f Merged in alessiomorale/librepilot/amorale/LP108_mpu6k_fixes (pull request #45)
LP-108 - Fix Temp calculation, get rid of floatin point operations within ISR
2015-09-15 23:20:08 +02:00
Paul Jewell
5517ff322e Changed incorrect #if to #ifdef in pios_msheap.c 2015-09-13 12:39:03 +01: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
1f09d36638 Merged in f5soh/librepilot/laurent/LP-44_Free_memory_CC3D (pull request #40)
LP-44 Save RAM
2015-09-04 09:47:33 +02:00
Alessio Morale
970ae3df00 LP-97 - Fixes for Osd and discoveryf4bare 2015-09-03 23:40:37 +02:00
Alessio Morale
06f59d2c40 LP-96 - Call CPU idle calibration function from SystemMod 2015-09-03 23:40:35 +02:00
Alessio Morale
4c2557c29a LP-96 - remove unused files 2015-09-03 23:40:35 +02:00
Alessio Morale
b88681c69f LP-97 - Move the common Init process within the System module (coptercontrol/revolution) 2015-09-03 23:40:24 +02:00
Alessio Morale
3eaf1ef3c3 LP-96 - Implement CPU idle counters and calibration functions 2015-09-03 20:05:25 +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
James Duley
e308039206 LP-99 Decouple flight build
Moved flight make code into flight/Makefile. This should speed up
rebuilds for GCS and keeps the top level Makefile tidier.

Change-Id: I9d33cb5c223b6a8ed2821435a5d63ecf4b97c6b8
2015-09-02 19:34:58 +12:00
Alessio Morale
a5482a5c2b LP-108 - Fix Temp calculation, get rid of floatin point operations within ISR 2015-09-01 23:32:26 +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
99975bf9b0 LP-92 Reduce Actuator stack size - Increase System stack size for diags 2015-08-14 10:59:53 +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
a66a725fcb Merge pull request #38 from skarlsso/skarlsso/LP-37_memory_wasted_in_pvPortMallocGeneric
LP-37 Fix alignment bug in in pvPortMallocGeneric
2015-07-19 14:09:06 +02:00
Alessio Morale
6a60910e19 LP-05: fix for toplevel makefile changes 2015-07-19 14:07:48 +02:00
Alessio Morale
18bc25aac6 Merge branch 'amorale/LP05-Readd_CC_rebased' of https://github.com/AlessioMorale/LibrePilot into AlessioMorale-amorale/LP05-Readd_CC_rebased
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2015-07-19 12:59:50 +02:00
Stefan Karlsson
d57e838ab1 LP-37 Fix alignment bug in in pvPortMallocGeneric
The allocation size was incremented by 'alignment' bytes when
'xWantedSize' was 'alignment' aligned, but not 'portBYTE_ALIGNMENT'
aligned.
2015-07-17 17:04:18 +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
paul Jewell
6b6461c8b4 Replaced OPENPILOT_IS_COOL by TOP_LEVEL_MAKEFILE 2015-07-15 08:06:21 +01:00
a*morale
1ef9fc51d6 LP-5 - exclude AH from outerloop 2015-07-15 00:07:51 +02:00
a*morale
62a585c188 LP-5 - Include missing UAVOs, add removed cc fields into hwsettings 2015-07-15 00:07:50 +02:00
a*morale
dd6c6054e9 Revert "OP-1810 FOC"
This reverts commit 92e50c2ead.

Conflicts:
	Makefile
	ground/openpilotgcs/src/plugins/config/config.pro
	ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp
	ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp
	ground/openpilotgcs/src/plugins/setupwizard/pages/escpage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg
	ground/openpilotgcs/src/plugins/uavobjectutil/devicedescriptorstruct.h
2015-07-15 00:07:50 +02:00
Alessio Morale
78921235cb Revert "REVONANO - workaround the issue with usart baud rate rounding changing slightly the Xtal frequency."
This reverts commit 1985f19fc0.
2015-06-06 11:31:02 +02:00
Alessio Morale
c2f3f24df2 Revert "REVONANO - CHange slightly xtal frequency to workaround wrong baud rate calculation"
This reverts commit b492b7e10a.
2015-06-06 11:30:48 +02:00