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

6068 Commits

Author SHA1 Message Date
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
Corvus Corax
d80a95fa65 Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest 2015-06-06 14:55:15 +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
Corvus Corax
191645c772 Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest 2015-06-05 21:16:45 +02:00
Alessio Morale
b492b7e10a REVONANO - CHange slightly xtal frequency to workaround wrong baud rate calculation 2015-06-05 19:02:22 +02:00
Corvus Corax
96f58605ec Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest 2015-06-05 15:17:35 +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
Corvus Corax
cc3b10060f OP-1900 have path_progress updated correctly for leg_remaining and error_below end conditions to work in fixedwingautotakeoff 2015-06-04 12:51:48 +02:00
Corvus Corax
23dab7e0b6 OP-1900 added deceleration check to autotakeoff failsafe 2015-06-04 12:51:48 +02:00
Corvus Corax
23f9f4d9c9 OP-1900 add failsafe to FW pathfollower to fly safely without valid airspeed estimate 2015-06-04 12:51:47 +02:00
Corvus Corax
ccfe39633e OP-1900 Put Sequencing state machine for vixed wing autotakeoff out of plan.c and into vtolautotakeoffcontroller, removed all special casing for autotakeoff and land from outside of pathfollower itself and code in plans.c - especially cleaned up pathplanner.c and made mode agnostic (which it should be) - added optional rewinding for pathplans 2015-06-04 12:51:47 +02:00
Corvus Corax
4b7edee534 OP-1900 Fixed Constructor calling chain 2015-06-04 12:51:47 +02:00
Corvus Corax
359c2ec560 disable stackoverflow checks on simposix - it doesnt work and the systemalarm prevents arming 2015-06-04 12:51:47 +02:00
Corvus Corax
fe01c6c69e give me an I! 2015-06-04 12:51:47 +02:00
Corvus Corax
d7f0490522 OP-1900 fixed header file name references 2015-06-04 12:51:46 +02:00
Corvus Corax
eb9a135977 OP-1900 manual induced autotakeoff sequencing safer for multis and fixed wing 2015-06-04 12:51:46 +02:00
Corvus Corax
9a6cf9d21b OP-1900 OP-1054 added emergency thrust cutoff feature to main fixed wing autopilot on loss of control 2015-06-04 12:51:46 +02:00
Corvus Corax
aac9159e87 OP-1900 OP-1054 Autotakeoff and Land controllers for fixed wing 2015-06-04 12:51:46 +02:00
abeck70
66aeac834b Merge remote-tracking branch 'origin/steve/OP-1904_Display_current_TxPID_settings_on_OSD' into rel-nano-15.05 2015-06-02 08:22:10 +10:00
Alessio Morale
4568588447 REVONANO - remove unused file 2015-06-01 19:07:42 +02:00
Alessio Morale
1985f19fc0 REVONANO - workaround the issue with usart baud rate rounding changing slightly the Xtal frequency.
Remove the former sbus rate issue workaround
2015-06-01 19:07:06 +02:00
Alessio Morale
508d55c9a6 REVONANO - Fix MPU9k Reset 2015-06-01 18:54:14 +02:00
Alessio Morale
564c69ad69 Merge branch 'rel-nano-15.05' of ssh://git.openpilot.org/temp into rel-nano-15.05 2015-06-01 18:23:19 +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
Alessio Morale
79b9caaf6e Revert "REVONANO - Workaround for the SBUS issue (use oversample 8 instead of 16 to reduce the bitrate error)"
This reverts commit 109c21a8ab.
2015-05-28 02:16:08 +02: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
abeck70
0ea8260a87 REVONANO Truely disarm on pathfollower guidance alarm 2015-05-26 17:29:51 +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
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
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
abeck70
c5715b26af REVONANO Landing fixes
1. Forced disarm via guidance alarm critical on disarm state
2. Continue to zero stabi including yaw during disarm state just in case it doesn't actually disarm.
2015-05-25 22:21:53 +10:00
abeck70
7d66a075de REVONANO Fixes to AutoTakeoff
1. Fix autoyaw to 0 attitude on takeoff post launch.
2. An error condition abort now properly disarms and continues to contrain thrust and stabi during disarmed state.
3. Increase thrustdown time from 2 to 5 seconds on an error condition (e.g. if 3 m deviation from takeoff position on NE).
2015-05-25 22:19:01 +10:00
abeck70
50d60649aa REVONANO Fix BrakeController to use vtol VerticalVelPID instead of LandVerticalVelPID 2015-05-25 22:13:13 +10:00
abeck70
89b40f3173 REVONANO: Landing and disarming fixes
Also prevent stabi control in land's disarm state
2015-05-25 08:50:33 +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
abeck70
6d68ed66d9 Merge branch 'steve/OP-1905_Fix_broken_telemetry_if_OPLM_in_PPM_only_mode' into abeck/nano-rc3-fixes 2015-05-24 20:44:31 +10:00
abeck70
d8f6a7827e REVONANO fix velocity mode use of altvario 2015-05-24 20:38:35 +10:00
abeck70
a4cff482b4 REVONANO fix altitudeHoldTask initialisation 2015-05-24 20:38:07 +10:00
abeck70
b89d8813b1 REVONANO Optimise and fix when altvario task is disabled 2015-05-24 20:37:42 +10:00
abeck70
553728ffd8 REVONANO Trial Rate on Yaw during braking instead of AxisLock 2015-05-24 20:36:44 +10:00
abeck70
ba903614c6 REVONANO Improve GPSAssist
I decided to not check throttle when re-enabling stabii control. It can feel as though the mode is defective.  I would rather someone have immediate always-there ability to overridwe gps hold.
2015-05-24 20:34:28 +10:00
Steve Evans
7e2c27671d Merge branch 'steve/OP-1905_Fix_broken_telemetry_if_OPLM_in_PPM_only_mode' into steve/OP-1904_Display_current_TxPID_settings_on_OSD 2015-05-24 10:28:47 +01:00
Steve Evans
4f8ffc612f OP-1905 Fix variable initialisation 2015-05-24 10:24:18 +01:00
Steve Evans
31eae08bba OP-1905 Fix OPLM in PPM mode blocks telemetry stream if no USB connected 2015-05-24 10:18:54 +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
064a5e831b OP-1898 VelocityRoam gets its own MaxRollPitch
This allows smoother velocityroam flight
2015-05-22 21:23:10 +10:00
abeck70
ee43c53cee Merge branch 'rel-nano-15.05' into abeck/OP-1898-VR 2015-05-22 18:46:09 +10:00
abeck70
c0c5cd3d16 OP-1464 uncrustify 2015-05-22 18:36:38 +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
f4b3c5d67a Merge branch 'thread/rel-15.05_SRXL' into rel-nano-15.05 2015-05-22 17:44:44 +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
abeck70
66643f185e REVONANO uncrustify pios_usart 2015-05-21 22:18:36 +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
m_thread
2ce0d5f378 OP-1837 Added SRXL support to nano. 2015-05-21 09:11:55 +02: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
3bbe7274ca OP-1464 remove commented out or unused code and pretty it up 2015-05-19 21:34:47 -04:00
Cliff Geerdes
1ade8b7f59 OP-1464 remove debug 2015-05-19 20:45:57 -04:00
Cliff Geerdes
de521c9004 OP-1464 tested version with debug still in place 2015-05-19 19:33:31 -04:00
Steve Evans
c3a55d671f OP-1849 DTR on FlexIO pin 3
Conflicts:
	flight/targets/boards/revonano/board_hw_defs.c
2015-05-19 21:35:34 +10:00
Cliff Geerdes
92295559b0 OP-1464 GPS autobaud - stash while debugging newobject issue 2015-05-18 18:37:53 -04:00
Laurent Lalanne
1aceea7532 REVONANO : Enable all Airspeed modules 2015-05-18 23:08:43 +02:00
Alessio Morale
9fa1fe870a OP-1803 - Add support to RevoNano 2015-05-18 21:36:13 +02:00
Alessio Morale
1ce23d722c REVONANO - Raise the number of leds supported to 10, added limits 2015-05-18 21:30:05 +02:00
Alessio Morale
d521ce6023 REVONANO - Add support for WS2811 led on servo output 1.
To free timer1, a unused timer (9) is assigned on the fly to servo out 1 to leave pin mappings unchanged. A better approach should be implemented Later (jira 1035)
2015-05-18 21:30:05 +02:00
Alessio Morale
04c067e8cd REVONANO - Workaround an approximation bug in SPL UART code.
Due to some approximation bug in SPL 100000 gives a prescaler of 29 resulting in (48000000 / 29) / 16 (oversampling)  = 103448
99999 gives a nice 30 resulting in exactly 100000.
2015-05-18 21:30:04 +02:00
Alessio Morale
295ca38026 REVONANO - Fix Prescaler settings for APB1 and 2 (48MHz and 96MHz) 2015-05-18 21:30:04 +02:00
Werner Backes
25b5278b05 Corrected mpu9250 magnetometer axis orientation. 2015-05-18 21:30:04 +02:00
Alessio Morale
8cb9f8b802 REVONANO - Enable some other modules (battery, airspeed, CameraStab) for testing 2015-05-18 21:30:04 +02:00
Alessio Morale
109c21a8ab REVONANO - Workaround for the SBUS issue (use oversample 8 instead of 16 to reduce the bitrate error) 2015-05-18 21:30:04 +02:00
Alessio Morale
3fd75273f5 Cleanup/uncrustify 2015-05-18 21:30:04 +02:00
Alessio Morale
0d714fb861 REVONANO - Change Power Regulatro Scale mode to Scale1.
Looks like stm32f4xx_Clock_Configuration_V1.1.0 seems like doesn't play well with 411. Reg Scale mode was wrong
2015-05-18 21:30:03 +02:00
abeck70
c0618258ad OP-1760 nano statusvtol addition 2015-05-18 21:30:03 +02:00
Alessio Morale
3152ebcaf0 OP-1828 - add support for Revonano 2015-05-18 21:30:03 +02:00
Alessio Morale
15a5022c7e Raise callbackscheduler stack size 2015-05-18 21:30:03 +02:00
Alessio Morale
2c96835555 REVONANO - Fix System stack size 2015-05-18 21:30:03 +02:00
Alessio Morale
40fa643cca REVONANO - Cleanup servo pin definitions, map PPM as last channel 2015-05-18 21:30:02 +02:00
Alessio Morale
855361488a REVONANO - emulate bigger sector size for erase operations 2015-05-18 21:30:02 +02:00
Alessio Morale
5ca6e43070 REVONANO - Fix erase settings 2015-05-18 21:30:02 +02:00
Alessio Morale
2497b3d605 REVONANO - some cleanup 2015-05-18 21:30:02 +02:00
Alessio Morale
60f8a8d9f0 REVONANO - Move PPM to input 2 to support oneshot 2015-05-18 21:30:02 +02:00
Alessio Morale
2dcc9e5deb OP-1659 - Revonano, raise sensor rate to 500Hz 2015-05-18 21:30:01 +02:00
Alessio Morale
54b83085bb OP-1696 - Revonano cpp support 2015-05-18 21:30:01 +02:00
Alessio Morale
895540974a REVONANO - Disable Sensitivity Adjustment values. 2015-05-18 21:30:01 +02:00
Alessio Morale
cf09616ba8 OP-1685 - OneShot support for revonano 2015-05-18 21:30:01 +02:00
Alessio Morale
e4dc6b0b64 OP-1658 - baro support for revonano 2015-05-18 21:30:01 +02:00
Alessio Morale
43f04a340b OP-1658 - MPU9250 support for sensor "reset", fix temperature measurement 2015-05-18 21:30:01 +02:00
Alessio Morale
174340d8bf OP-1658 - Various fixes for MPU9250 2015-05-18 21:30:01 +02:00
Alessio Morale
94d30f7ad2 OP-1658 - Add RevoNano support 2015-05-18 21:30:00 +02:00
Alessio Morale
928f1385ec OP-1658 - MPU9250 sensor device model implementation 2015-05-18 21:30:00 +02:00
Alessio Morale
5a140957f9 REVONANO - Update uavos list 2015-05-18 21:30:00 +02:00
Stefan Karlsson
2630383669 REVONANO - Fix the I2C Error IRQ Handler name for the pressure adapter 2015-05-18 21:29:59 +02:00
Stefan Karlsson
a3fc54ac0b REVONANO - Fix Baro initialization bug
The I2C SCLK pin (A8) was being changed by code used to support battery voltage sensing on the Revo. This code was run after PIOS_I2C_Init but before PIOS_MS5611_Init, causing a BUSY state on the I2C bus before the Barometer initialization code was run.
2015-05-18 21:29:59 +02:00
Laurent Lalanne
57845a7cf9 REVONANO - Disable WDG - Add PathPlanner and PathFollower modules - Fix Tx/Rx buffers for GPS 2015-05-18 21:29:59 +02:00
Stefan Karlsson
8f94aa5353 REVONANO - Use Nano as the USB connection name 2015-05-18 21:29:59 +02:00
Stefan Karlsson
7252fb4207 REVONANO - Fix Auto Upload 2015-05-18 21:29:58 +02:00
Laurent Lalanne
aff4951d02 REVONANO Remove hardcoded Flexiport with telemetry 2015-05-18 21:29:58 +02:00
Stefan Karlsson
21b485aa3f REVONANO - Fix timers for PPM 2015-05-18 21:29:58 +02:00
Stefan Karlsson
047ee1fcb0 REVONANO - Remove relaytuning from revonano target 2015-05-18 21:29:58 +02:00
Laurent Lalanne
f82a584eb2 REVONANO mpu9250 driver fix for Mag orientation 2015-05-18 21:29:57 +02:00
Alessio Morale
3651ac61a3 REVONANO - Change sensors rate to 333Hz 2015-05-18 21:29:57 +02:00
Alessio Morale
1d7c1b2fc9 REVONANO - Change target to 411, fix ram and flash extents, raise clock to 96MHz (cannot do 100 because of USB) , cleanup spl 2015-05-18 21:29:57 +02:00
Alessio Morale
674963790e REVONANO - Enable WDG and raise timeout value (due to eeprom reading and initialization being very slow) 2015-05-18 21:29:57 +02:00
Alessio Morale
e5baa8e847 REVONANO - align to 9k setting uniformation 2015-05-18 21:29:57 +02:00
Alessio Morale
15e7286078 MPU9K - merge 9k and 6k settings into a single uavo 2015-05-18 21:29:56 +02:00
Alessio Morale
951c9c2fad REVONANO - Disable WDG for debug pourposes 2015-05-18 21:29:56 +02:00
Alessio Morale
3563b1ff0e REVONANO - Prevent modules to start before init: move most code to pios_initcall.h. System and system-Like modules 2015-05-18 21:29:56 +02:00
Stefan Karlsson
efb6855f6f REVONANO - Various temp fixes debug code to get nano to read from the flash. Code has been added to make the execution of systemTask wait until initTask has completed.
Conflicts:
	flight/pios/common/pios_flashfs_objlist.c
2015-05-18 21:29:56 +02:00
Stefan Karlsson
2d3c8b835a REVONANO - Turn on StateEstimate 2015-05-18 21:29:56 +02:00
Stefan Karlsson
8c8abc3cb5 REVONANO - Increase fast_prescaler for the MPU so that it doesn't consume all CPU 2015-05-18 21:29:56 +02:00
Alessio Morale
96659f5757 REVONANO - some unused var cleanup 2015-05-18 21:29:55 +02:00
Alessio Morale
288c9019d1 uncrustify 2015-05-18 21:29:55 +02:00
Alessio Morale
51094ba95d REVONANO - Minor cleanup of MPU9250 driver 2015-05-18 21:29:55 +02:00
Alessio Morale
4ec44cea90 REVONANO - Fix BU target 2015-05-18 21:29:55 +02:00
Alessio Morale
210b75fcb9 REVONANO - Fix MPU Prescalers 2015-05-18 21:29:55 +02:00
Alessio Morale
b6eedaf93d REVONANO - Fix PIOS_SYSCLK Declaration 2015-05-18 21:29:55 +02:00
Alessio Morale
d2dae79c82 REVONANO - update SPL to 1.4.0 that adds support for f411 2015-05-18 21:29:55 +02:00
Alessio Morale
4a7d81ed01 REVONANO - Fix gyro spi config and include MPU9250 support 2015-05-18 21:29:54 +02:00
Mathieu Rondonneau
66b06e4c9a REVONANO - Add MPU9250 support 2015-05-18 21:29:42 +02:00
Alessio Morale
fb11b312c5 REVONANO - Flash fs fixes 2015-05-18 21:26:40 +02:00
Alessio Morale
632a14023c REVONANO - exclude ccram stuffs 2015-05-18 18:55:26 +02:00
Alessio Morale
8a02caa33a REVONANO - Fix eeprom configuration 2015-05-18 18:55:26 +02:00
Alessio Morale
5c13551a1a REVONANO - Add support for eeprom and objlist fs 2015-05-18 18:55:25 +02:00
Alessio Morale
8b11861c63 REVONANO - Readd old objlist FS to be used with EEPROM 2015-05-18 18:55:25 +02:00
Alessio Morale
1e1195ec05 REVONANO - Add Eeprom support 2015-05-18 18:55:25 +02:00
Alessio Morale
764a15999f REVONANO - Make FlashFS_Logfs optional, remove old onchip eeprom files
Conflicts:
	flight/targets/boards/coptercontrol/firmware/Makefile
2015-05-18 18:55:21 +02:00
Alessio Morale
76ad80fdf5 Revert "objlist: remove now unused objlist flash filesystem"
Bring them back to the right path
This reverts commit d89a9b1b6c.
2015-05-18 18:54:52 +02:00
Alessio Morale
8a54414d70 REVONANO - Fix and cleanup hw configurations, Baro working at this stage 2015-05-18 18:54:52 +02:00
Alessio Morale
805750050c REVONANO - Support distinct remaps for SDA and SCL 2015-05-18 18:54:52 +02:00
Alessio Morale
375f23ff0c REVONANO - Make debuglog, FlashFS and other bits optional 2015-05-18 18:54:50 +02:00
Alessio Morale
690e04f4f0 REVONANO - Initial board support 2015-05-18 18:52:09 +02:00
Alessio Morale
6d6be75605 REVONANO - Update SPL to 1.3.0 2015-05-18 18:48:18 +02:00
Alessio Morale
b59408863a REVONANO - Allows per board linker scripts 2015-05-18 18:48:17 +02:00
Laurent Lalanne
3eef68c017 OP-1893 Deadband scale 2015-05-18 16:45:13 +02:00
Alessio Morale
330b396a73 Merge remote-tracking branch 'origin/amorale/OP-1874_notifications_improvements' into HEAD 2015-05-18 10:05:56 +02:00
abeck70
7d603bc6cb OP-1847 gpsassist fix
Set assisted control state to HOLD when Brake controller transitions to HOLD.  This impacts throttle stick behavior as it is different during braking and on brake completion in the hold state.
Also cleanuped and removed unused/old code that triggered HOLD in plans.c
2015-05-16 20:33:03 +10:00
abeck70
5d923c4125 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1847-gps-assist-fixes 2015-05-16 19:57:41 +10:00
Alex Beck
d6751172ae OP-1848 altvario fix simposix build 2015-05-14 20:34:32 +10:00
abeck70
2c3fcd64d1 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into laurent/OP-1869_Analog_airspeed_scaling 2015-05-14 20:21:40 +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
Laurent Lalanne
8e8d08c4a1 OP-1869 "scale" lower case 2015-05-13 21:55:18 +02:00
Steve Evans
1771d347bb Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge 2015-05-13 20:36:06 +01:00
Steve Evans
fd00cd8210 Merge branch 'next' into steve/OP-1803_s.bus_dropped_frames 2015-05-13 20:29:54 +01:00
abeck70
525aabe54c uncrustify flight gps updates 2015-05-13 17:36:52 +10:00
abeck70
3784357a18 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-13 17:33:11 +10:00
abeck70
92e50c2ead OP-1810 FOC
Squashed commit for clean commit as discussed in code review
Uncrustify
2015-05-13 17:19:51 +10:00
abeck70
858354391d Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-12 22:07:21 +10:00
abeck70
794605b3d9 OP-1848 altvario fixes
1. CC compile fix
2. on reinit calculate a new thrustdemand after which gyro updates will retrigger subsequent calcs
2015-05-12 22:02:03 +10:00
abeck70
8d2f4722d7 OP-1848 altvario improvements
1. Disable velocity pid loop when altvario is not active
2. Add sanity boundf to ensure max min are inforced.
2015-05-12 17:40:28 +10:00
Cliff Geerdes
f1ec9dea33 Merge branch 'next' into theothercliff/OP-1840_GPS_serial_port_needed_features 2015-05-12 01:25:45 -04:00
abeck70
43ec464737 OP-1848 altvario improvements
1. Avoid neutral thrust calcs in altvario typically used in forward flight
2. Capture stick state for debugging into altitudeholdstatus
2015-05-10 19:05:36 +10:00
abeck70
0ef6779701 OP-1848 altvario tidyup of NE controllers in pathfollower
Change ILimit variable name to Beta in multiple PID loops that now use pid2 implementation.
Change velocity controller yaw from axislock to rate.
2015-05-09 23:03:53 +10:00
abeck70
2eef3e2dd2 OP-1848 altvario discovery4bare remove second instance of uavo 2015-05-09 14:54:40 +10:00
abeck70
d6123c018d Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-09 14:31:57 +10:00
abeck70
7fd08ef990 OP-1858 takeoff in nav address code review comments 2015-05-08 22:04:44 +10:00
abeck70
4ccdc46311 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff 2015-05-08 21:48:34 +10:00
Steve Evans
6e6b8c8bad Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge 2015-05-08 07:43:16 +01:00
Steve Evans
023f157ba8 OP-1803 Disable untested DSM link quality code 2015-05-08 07:42:32 +01:00
Steve Evans
8689b2d0ca OP-1803 Don't report error codes as % 2015-05-08 07:38:55 +01:00
abeck70
ddefd11b7f Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-07 11:28:24 +10:00
Cliff Geerdes
193911ba20 OP-1840 another merge conflict 2015-05-05 23:26:08 -04:00
abeck70
143f09d216 Merge remote-tracking branch 'origin/rel-15.02.02' into next
Conflicts:
	flight/modules/Actuator/actuator.c
2015-05-06 08:35:21 +10:00
Cliff Geerdes
d9ab9e4f27 Merge branch 'next' into theothercliff/OP-1840_GPS_serial_port_needed_features
Conflicts:
	flight/modules/GPS/GPS.c
2015-05-05 17:05:11 -04:00
abeck70
593cf18c5c OP-1848 altvario Update dT to speed on sensor update rate 2015-05-05 22:49:39 +10:00
abeck70
0c77d8a21d OP-1848 altvario
Speed up velocity control loop to original speed
2015-05-05 22:39:15 +10:00
abeck70
72b0d053ef Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff 2015-05-05 21:53:26 +10:00
abeck70
dd1c6c7600 OP-1848 build fixes after merge with ratetrainer 2015-05-05 21:52:04 +10:00
abeck70
43d193cceb OP-1848 altvario merge fixes with ratetrainer 2015-05-05 21:48:04 +10:00
abeck70
5bffc73b17 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
Conflicts:
	flight/modules/Stabilization/outerloop.c
2015-05-05 21:47:19 +10:00
abeck70
0bdec71020 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1867-pathplanner-autoland 2015-05-05 21:34:26 +10:00
abeck70
5c13db221b OP-1867 autoland/takeoff
Allow takeoff after land on abort when in takeoff flight mode without having to change flight mode.
2015-05-04 21:48:24 +10:00
abeck70
16cc9f1512 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff 2015-05-04 21:15:24 +10:00
abeck70
5ca9d979e6 OP-1858 if previous mode was autotakeoff, ignore wp start position and go from current position. 2015-05-04 21:14:54 +10:00
abeck70
2ec40072ab OP-1863 ratetrainer fix coding error. ratetrainer should now work. 2015-05-04 17:36:04 +10:00
abeck70
c3c80d4aa8 OP-1848 altvario fix build issue for CC 2015-05-04 08:58:07 +10:00
abeck70
a9ad3c5ec1 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-04 08:42:54 +10:00
abeck70
d4561e9cd8 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1863-rate-maxpitch 2015-05-04 08:41:12 +10:00
abeck70
ca03092fb4 OP-1863 ratetrainer update stab handler to support new outerloop directwithlimits mode 2015-05-04 08:40:06 +10:00
Alessio Morale
9dcd6990d3 OP-1874 - Add notification for Critical alarms, add Attitude, modify alarm repetition rates.
reduce rate for Magnetometer, Receiver. Include Attitude.
2015-05-03 23:13:53 +02:00
Laurent Lalanne
842330922f Merge branch 'amorale/OP-1857_ppm_on_flexi_cc' into rel-15.02.02 2015-05-03 13:22:47 +02:00
Alessio Morale
c227686854 uncrustify 2015-05-02 20:27:28 +02:00
RS2K
2fca0b1d9b OP-1835 - Motor Constraints for 15.02.02 - Quick fix to disable clipping. Bit of code not in the original fix I had to deal with. 2015-05-02 13:11:40 -05:00
RS2K
57d062ff67 OP-1835 - Motor Constraints for 15.02.02
OP-1835 - Motor Constraints for 15.02.02
2015-05-02 12:55:43 -05:00
Philippe Renon
9a312ef115 uncrustified 2015-05-02 16:46:35 +02:00
Philippe Renon
b4b93bee93 Merge remote-tracking branch 'origin/rvonlehe/OP-1740_UAV0_GetSetFunctionsTakeEnum' into next 2015-05-02 16:34:15 +02:00
abeck70
b479bd5436 OP-1848 altvario TxPID support 2015-05-02 23:57:18 +10:00
abeck70
21c54c3a37 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-01 22:59:36 +10:00
abeck70
b4d727db98 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1863-rate-maxpitch 2015-05-01 21:53:35 +10:00
Laurent Lalanne
11e83bd0e8 OP-1869 Analog Airspeed sensor : Allow scale (voltage divider), change alpha/LowPassFilter behavior 2015-05-01 13:00:36 +02:00
m_thread
c4c60c897b Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2015-05-01 09:53:35 +02:00
m_thread
b8653d44da Merge branch 'thread/OP-1837_SRXL_Cleanup' into next 2015-05-01 09:46:32 +02:00
Cliff Geerdes
dad8f40c4d OP-1840 Remove reference to unreleased hardware 2015-05-01 02:49:15 -04:00
Cliff Geerdes
c365bd3032 OP-1840 Removed unused debug .h and update comments 2015-05-01 02:46:38 -04:00
abeck70
87f521bde3 OP-1867 autoland
build fix
2015-04-30 23:11:32 +10:00
abeck70
0eb84cd8f6 OP-1867 pathplanner autoland
Setup land with descent rate set from flight mode settings.
2015-04-30 22:54:38 +10:00
abeck70
17b8ccd6bb Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff 2015-04-30 17:34:33 +10:00
Cliff Geerdes
f331ca0daf OP-1840 CC3D wouldn't build and update some comments 2015-04-30 01:27:19 -04:00
Cliff Geerdes
48bea16ab9 OP-1840 GPS serial improvements initial coding 2015-04-29 23:46:47 -04:00
Alessio Morale
82c0cba664 Merge remote-tracking branch 'origin/amorale/OP-1841_serial_telemetry_issue' into next 2015-04-29 19:45:11 +02:00
abeck70
d6de7803e1 OP-1858 autotakeoff pathplanner fixes 2015-04-29 20:27:30 +10:00
abeck70
09e2c6f00e OP-1863 RateTrainer
Initial commit for code review
2015-04-28 21:54:58 +10:00
abeck70
b14a966088 OP-1858 autotakeoff and pathplanner
1. Allow arming in pathplanner
2. Typo in comment
2015-04-28 20:54:44 +10:00
abeck70
210b15db4d OP-1858 autotakeoff in pathplanner
1. Allowing arming in pathplanner
2. Takeoff activation requires throttle to be above 30%
3. Takeoff occurs at the current/actual position and rises vertical to the settings altititude.
4. The details of the takeoff waypoint are effectively ignored - this is a simplicifcation to avoid having to have pathplanner inject a flyvector command from the current location to the waypoint
5. We hard code the condition check for autotakeoff as only one mode is supported.
2015-04-27 23:01:47 +10:00
samguns
09a00f8990 Merge branch 'rel-15.02.02' into samguns/zh_CN_GCS 2015-04-27 11:56:25 +08:00
m_thread
1f7a8d7ef1 OP-1837 Fixed a wrongly named config. 2015-04-27 01:05:47 +02:00
Richard von Lehe
d22b96d24b OP-1740: Force latest Pathfollower changes to use uavobj enums. 2015-04-26 17:46:49 -05:00
Richard von Lehe
f3611591e0 Merge branch 'next' into rvonlehe/OP-1740_UAV0_GetSetFunctionsTakeEnum
Conflicts:
	flight/modules/PathFollower/inc/vtollandcontroller.h
	flight/modules/PathFollower/vtollandcontroller.cpp
	flight/modules/PathFollower/vtollandfsm.cpp
2015-04-26 17:45:36 -05:00
Steve Evans
5c5c8b5947 OP-1849 Uncrustify 2015-04-26 21:45:43 +01:00
m_thread
8d4fe80388 OP-1837 Uncrustify 2015-04-26 21:08:54 +02:00
Steve Evans
e89356deb2 OP-1849 Invert DTR and initialise 2015-04-26 14:18:40 +01:00
m_thread
b0b1a42aec OP-1837 This change adds support for the Multiplex SRXL v1 and v2 protocols.
Protocol version is autodetected and 12 or 16 channels are supported.
SRXL is available on Flexiport of Revolution board.
2015-04-26 15:04:52 +02:00
m_thread
f11285ea16 Added new helper macros to performance counters. 2015-04-26 14:33:25 +02:00
Steve Evans
25b0b3df0f OP-1849 For Revo put DTR on pin 9 of FlexIO port 2015-04-26 11:26:04 +01:00
Steve Evans
7445add280 OP-1849 Hooks all in place for CDC line state changes to drive port GPIO for DTR 2015-04-26 03:05:47 +01:00
Alessio Morale
6d9bb8a287 OP-1857 - Enable PPM On Flexi Port 2015-04-25 20:21:56 +02:00
Steve Evans
0aede91547 Merge branch 'next' into steve/OP-1849_update_minimosd_via_usb 2015-04-24 22:49:02 +01:00
Steve Evans
7f93340f7f OP-1849 Initial commit 2015-04-24 22:46:07 +01:00
abeck70
e36ab50040 OP-1838 altvario
Fixes and tidyup.

TODO:
1. Fix UI for sliders
2. Disable vtol tuning on stabi input
3. Altitude loss feedback
2015-04-23 22:49:12 +10:00
abeck70
443b3742cc OP-1848 altvario
1. Build fixes
2. Additional UI components.
2015-04-23 21:54:20 +10:00
abeck70
0d77cd95d9 OP-1848 altvari0
1. build fixes
2. Updated ui to use updated uavo names in altitude settings that align to the naming in vtol settings
3. Moved call the thrust altvario to pre application of PIDs for 3d axes to allow for later coupling.
2015-04-23 21:13:00 +10:00
abeck70
d469a754bf OP-1848 ready for review
AltVario:
1. Uses new PID scheme
2. Runs at the outer loop rate to save CPU cycles
2015-04-23 15:51:09 +10:00
abeck70
955f314541 OP-1848 altvario rewrite - initial checkin
TODO: 1) update uavos 2) check dT
2015-04-23 15:46:47 +10:00
James Duley
00818f3161 OP-1851 Missing static keyword:
Added static to header functions that were missing it
2015-04-22 11:27:47 +12:00
Steve Evans
79339d677f Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_update_minimosd_via_usb 2015-04-21 07:44:50 +01:00
Steve Evans
d28831008f OP-1803 Return link quality of zero rather than throw an exception if no receiver if the receiver port is undefined 2015-04-20 21:40:42 +01:00
Alessio Morale
ab36dcbdee Merge remote-tracking branch 'origin/rel-15.02.02' into next 2015-04-20 14:54:07 +02:00
Alessio Morale
1162c0afb2 Merge remote-tracking branch 'origin/master' into next 2015-04-20 14:53:13 +02:00
Alessio Morale
6176f7a1d7 Uncrustify 2015-04-20 14:52:13 +02:00
Alessio Morale
2571db4d96 Merge remote-tracking branch 'origin/laurent/OP-1814_Battery_reset_mAh' into next 2015-04-20 14:29:16 +02:00
Alessio Morale
19bb4d8016 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2015-04-20 12:10:31 +02:00
Alessio Morale
118a0ec66f Merge remote-tracking branch 'origin/amorale/OP-1802_throttle_fake_pos_vel' into next 2015-04-20 12:10:08 +02:00
abeck70
f68e1144ca OP-1760 fix compile issue for CC 2015-04-20 20:09:27 +10:00
Alessio Morale
061ef1e377 Merge remote-tracking branch 'origin/amorale/OP-1828_optional_analog_inputs' into next 2015-04-20 12:08:34 +02:00
Alessio Morale
9103b4de92 Merge remote-tracking branch 'origin/rodney/OP-1834_disable_piro_comp_in_self_level_modes' into next 2015-04-20 11:58:51 +02:00
Alessio Morale
107f807c92 Merge remote-tracking branch 'origin/rodney/OP-1794_dump_axis_lock_accumulators_on_low_throttle' into next 2015-04-20 11:52:35 +02:00
Alessio Morale
e12a595826 OP-1802 - (missing) change from review 2015-04-20 11:38:38 +02:00
Alessio Morale
6c22ed3b69 OP-1802 - Changes from review 2015-04-20 11:35:40 +02:00
Alessio Morale
3128127392 OP-1841 - Check available size at each step to avoid overrun 2015-04-20 05:48:39 +02:00
abeck70
d943f5a0ce OP-1760 autotakeoff
On landing stausvtolland state of DISARMED, armhandler  now detects this and disarms by force equivalent to a pathplanner alarm trigger.

To re-arm, one must leave the land flight mode.
2015-04-20 08:43:57 +10:00
Steve Evans
b87a1c1fa6 OP-1803 Enable DSM link quality so testers have something to work with 2015-04-19 18:41:04 +01:00
abeck70
3a0c36f7d7 OP-1760 autotakeoff
Add sanity checks to protect from waypoint looping inpath planner.

If takeoff initiated and thrust > vtol_min, enter position hold, reflect copletion in pathstatus, and pathplanner will move to next waypoint in a very short period of time.
2015-04-19 18:46:40 +10:00
abeck70
b96379cf78 OP-1760 landing fixes : avoid false positives on ground detection from accel vibration
Viper found that a badly mounted FC can trigger ground detection.
2015-04-19 18:18:14 +10:00
abeck70
1e9bd43871 Merge branch 'next' into abeck/OP-1760-autotakeoff-squashed 2015-04-19 17:52:35 +10:00
Alessio Morale
5c76c0ee07 Merge remote-tracking branch 'origin/steve/OP-1289_two_telemetry_streams' into next
Conflicts:
	flight/modules/Telemetry/telemetry.c
2015-04-18 19:10:13 +02:00
abeck70
c4aa17a04c OP-1760 autotakeoff pathplanner now uses pathstatus in conditionLegRemaining 2015-04-17 23:06:02 +10:00
abeck70
eebbfcea64 OP-1760 autotakeoff - enable positional control pathplanner landing to fly to final waypoint during landing 2015-04-17 22:58:53 +10:00
abeck70
88b0c99087 OP-1760 autotakeoff in pathplaner: control to start location instead of end location in NE 2015-04-17 22:44:05 +10:00
abeck70
55cbc2cd9b OP-1760 autotakeoff - simplify pathplanner data input requirements to trigger autotakeoff 2015-04-17 22:21:08 +10:00
abeck70
db0dc0e552 OP-1760 indicate completion of takeoff when disarmed
This can be detected in pathplanner.
2015-04-17 21:26:24 +10:00
Mathieu Rondonneau
9cb0926009 OP-1804: Add realloc. 2015-04-16 22:52:09 -07:00
abeck70
04c42bd316 OP-1760 autotakeoff
1. Make autotakeoff height configurable
2. Fix the pidcontroldown transfer to solve the rough transition between pid controllers for landing, takeoff, braking etc.
2015-04-16 21:22:37 +10:00
abeck70
a8c6a19784 OP-1760 code review fixes 2015-04-15 08:39:13 +10:00
Rodney Grainger
aa9ed6a62a OP-1843 - uncrustify 2015-04-14 22:00:11 +12:00
Rodney Grainger
115b206032 OP-1834 - Disable pirouette compensation in self level modes 2015-04-14 21:55:57 +12:00
Richard von Lehe
1ac4c63fa7 OP-1740: UAVObjects use enums 2015-04-12 22:05:05 -05:00
Rich von Lehe
782944bfb1 OP-1740: uavobj use enums: clean up errors 2015-04-12 16:20:09 -05:00
abeck70
a52969a76b OP-1760 Autotakeoff
Squashed commit as code reviews impossible otherwise due to dependencing on OP-1696
2015-04-12 21:39:31 +10:00
Rich von Lehe
e6de41855b OP-1740: GetSet use enums: Getting more files to conform to using enums instead of uint8_t... 2015-04-11 15:43:04 -05:00
Steve Evans
d2a69b2d44 OP-1803 Merge OP-1289 Only create local telemetry queues/tasks if needed 2015-04-11 13:32:45 +01:00
Steve Evans
32a25e7044 OP-1289 Only create local telemetry queues/tasks if needed 2015-04-11 12:58:14 +01:00
Richard von Lehe
b3a7a89dca OP-1740: GetSet functions take enum: Fix remaining compile errors in PathFollower and Airspeed modules. 2015-04-09 20:04:44 -05:00
Alessio Morale
4afd644018 OP-1828 - Revolution: Maps Servo 3-6 to ADC2-5 2015-04-10 01:16:59 +02:00
Richard von Lehe
4c5cebf5c6 OP-1740 UAV0 GetSet Functions Take Enum: getting codebase to compile - multiple changes needed, still incomplete (i.e. this commit will not compile, but I want to save my changes on more than just my machine :-) 2015-04-08 21:40:15 -05:00
Alessio Morale
6641bb0e21 OP-1828 - Add boards support 2015-04-09 00:26:04 +02:00
Alessio Morale
3a772e1828 OP-1828 - Add support for optional analog inputs
Optional analog inputs are not initialized at ADC module startup.
Calling PIOS_ADC_PinSetup(uint32_t pin) setups them as analog input at a later stage.
2015-04-09 00:25:53 +02:00
Alessio Morale
c452ecf180 OP-1820 - fix some now unneded mess in PiOS_Sensor 2015-04-05 16:10:10 +02:00
Rodney Grainger
e81e9c03cb OP-1794 - Uncrustify 2015-04-05 17:27:43 +12:00
Rodney Grainger
34401d645b OP-1794 Dump Axis Lock accumulators when throttle is low.
For multi-rotors, the system should prevent the wind up of the AxisLock accumulators when the throttle is low.
With the current firmware, a multi-rotor using Axis Lock will flip upon takeoff if the vehicle is moved, or left for a long period, prior to arming.
2015-04-05 16:41:58 +12:00
Steve Evans
73aeb5d653 OP-1803 Report link quality for OPLink 2015-04-04 22:02:54 +01:00
Laurent Lalanne
2350acb068 OP-1814 Add ResetConsumedEnergy option to flight side 2015-04-04 22:34:22 +02:00
Steve Evans
b93d9e178e OP-1803 Max signal quality is 100% 2015-04-04 14:50:08 +01:00
Alessio Morale
ee19ff893e OP-1820 - Add mag orientation parameter in hmc configuration 2015-04-03 20:40:52 +02:00
Steve Evans
b7122008c7 OP-1803 Uncrustify 2015-04-03 18:30:36 +01:00
Steve Evans
b5a3ad3708 OP-1803 Use float to avoid rounding error on signal quality 2015-04-03 18:01:04 +01:00
Steve Evans
32b3f0d55d OP-1803 Remove old header reference 2015-04-03 15:45:00 +01:00
Werner Backes
e42c6e4265 Fixed PathPlanner's 3D mode for the case of non-custom crafts. 2015-04-03 16:32:33 +02:00
Steve Evans
f9f0e1657c OP-1803 Add good frame count option for debug 2015-04-03 15:29:24 +01:00
Steve Evans
2843715432 Merge branch 'steve/OP-1289_two_telemetry_streams' into steve/OP-1803_s.bus_dropped_frames
Update with taskinfo update
2015-04-03 12:46:12 +01:00
Steve Evans
91e03a1541 OP-1289 Adding tracking of new RadioTx task 2015-04-03 12:37:37 +01:00
Steve Evans
8276aa3a66 OP-1803 Monitor signal quality when armed too 2015-04-03 09:47:07 +01:00
Steve Evans
2e5ecd2dce OP-1803 S.Bus signal quality monitoring 2015-04-02 21:41:40 +01:00
Steve Evans
a0f180d393 OP-1803 Initial commit 2015-04-02 19:09:58 +01:00
Alessio Morale
be4bc23da4 OP-1812 - Fix the failsafe issue with PWM inputs 2015-04-01 20:36:10 +02:00
Werner Backes
93630b30df Fixed calls to path_circle. 2015-03-28 13:42:31 +01:00
m_thread
4bd2e889ce Merge remote-tracking branch 'origin/samguns/OP-1781_ground_input_channel_conf' into next 2015-03-28 12:33:24 +01:00
samguns
2d9f3acc17 OP-1781 Fix the problem that while calibrating transmitter, the graphic stick doesn't move accordingly. 2015-03-23 23:05:07 +08:00
Alessio Morale
006fdf9072 Uncrustify 2015-03-22 20:26:36 +01:00
Alessio Morale
fbaf39229b Merge remote-tracking branch 'origin/cyr/OP-1739_GNSS' into next 2015-03-22 20:25:51 +01:00
Alessio Morale
4962936c76 Merge remote-tracking branch 'origin/cyr/OP-1691_RFM22B_reset_cpuhog' into next 2015-03-22 20:24:37 +01:00
Alessio Morale
1da57315d3 OP-1802 - Throttle fake pos/vel in filterstationary 2015-03-22 13:24:42 +01:00
Alessio Morale
2a45f58fea Merge remote-tracking branch 'origin/amorale/OP-1793_sensor_fixes' into next 2015-03-20 22:43:33 +01:00
Alessio Morale
59325f6292 Merge remote-tracking branch 'origin/amorale/OP-1750_perf_optimization' into next 2015-03-20 22:43:11 +01:00
Alessio Morale
ddd72324c3 OP-1793 - Use a constant for running average smoothing factor 2015-03-20 22:11:29 +01:00
Alessio Morale
0d1b3ffb3d OP-1750 - don't reuse invBmag, calculate mag magnitude only if mag samples are provided 2015-03-20 21:45:50 +01:00
abeck70
a4ea1f008b OP-1696 uncrustify 2015-03-20 21:44:24 +11:00
abeck70
88494e2745 OP-1696 PathFollower rewrite in C++ and Landing Squashed commit of the following:
commit 580cd8addafadc3109b90b1fd183130ea8add7f2
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Mar 20 21:32:33 2015 +1100

    OP-1696 Cleanup and bug fix

    1. Code review cleanup
    2. Fixed gps assist braking - the thrust limits in piddown were not being set.

commit 31ac4494f6e2bc5859f49d1f76f19fe3a4d32862
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 18 08:31:16 2015 +1100

    OP-1696 fix initialisation of down pid control parameters

commit a7bd737459249530bde9546b8247dd45b40dced4
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 21:18:38 2015 +1100

    OP-1769 Actuator fix from code review

commit 968172b8fb46c91b2611be4825e17faf2fa13411
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 21:01:11 2015 +1100

    OP-1696 fixed ground pathfollower settings xml

commit 721c07b67a87911ed67d0b62aa658cfac6d3eb97
Merge: f556215 be9f4ae
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 20:52:01 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit f556215ddbd5a29b22c2e6124372d74a0d6b9a0f
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 20:51:22 2015 +1100

    OP-1696 ground pathfollower fixes

commit 4584b22d6a2d33d3efb1cd11ac46804a5623a236
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 18:11:52 2015 +1100

    OP-1696 Ground redesign

    1. Move to new PID loop design
    2. Prototype steering control

commit b70c3373646fa758ae30a59765b8a56df7d2fbeb
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 15 18:42:06 2015 +1100

    OP-1696 ground pathfollower added missing call to update velocity state

commit a282bfb14dffcd486466b60be3100d26c11649ef
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 15 17:22:02 2015 +1100

    OP-1696 ground pathfollower improvements

commit f56ea4f9b101415e32e4464e51e087ee350be969
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 15 07:44:01 2015 +1100

    OP-1696 remove unused PID controller in ground for vertical

commit 6424aa0a84c3718a5a7b51fab1c9e04587d325b8
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 21:40:58 2015 +1100

    OP-1696 Initialise vtolemergencyfallback variables

commit 5d6110499bb06fe9b397e09dea5aafe994f03d13
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 21:30:21 2015 +1100

    OP-1696 vtolflycontroller segv fixed and uncrustify

commit bef23ea3dc2b5aff5b9b8713802586719b8f68cf
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 20:50:05 2015 +1100

    OP-1783 PathPlanner

    Instead of config alarm if no pathplan, simply continue to alarm pathplan, but allow normal arming and flight in other modes.  If pathplan enabled, simply enter position hold.

commit 370f1747209cca7c01c071a43224ad83b04bdd55
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 20:48:22 2015 +1100

    OP-1769 Ground code review comment

    1. Remove idx1 < 0 check not needed
    2. Should return abs_input in the corner case that curve is "invalid".

commit 01973c656d783e035ad823c267d3387bf473eebe
Merge: be07d12 5c9b6fa
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 12:17:31 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit be07d125f42b5ca1aabce0f5c0fcf592e8cddf98
Merge: 44afdc7 ad44b31
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 21:55:52 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 44afdc77987049dc58cdf42e3be88b7eae38de02
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 19:35:55 2015 +1100

    OP-1696 fix startup

    Fix initialisation and void use of pios_malloc at startup

commit 962f5f75756883cec6726c0347310d60264f6989
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 18:48:04 2015 +1100

    OP-1696 undo changes to make file

commit 7fa71d5c614d492cb4026312672068f92a4bcd3e
Merge: 672732e 5a9cfa6
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 18:06:59 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 672732e95d555946300ef5093f687f3fa88bfd3a
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 11 12:59:44 2015 +1100

    OP-1696 code review comments

commit 73b295d6515f2489b3b3a61459c975b0c37afe3d
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 11 12:47:24 2015 +1100

    OP-1696 code review comments

commit 524b72f537fe922bf3c4385b418872f13819a5cf
Merge: 6beef01 ba5f395
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 10 23:19:06 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 6beef01476d06598652a10de4857e6ae55015417
Merge: 100cf33 8c31f96
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 7 16:50:32 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 100cf335d187fe696d3678371b194fc3044a1c7e
Author: Alex Beck <abeck70@icloud.com>
Date:   Thu Mar 5 22:32:30 2015 +1100

    OP-1696 simposix c++ compilation fix

commit 9ebf846d1ec8fef30ffc1204546fc5dc648ec10b
Author: Alex Beck <abeck70@icloud.com>
Date:   Thu Mar 5 21:35:39 2015 +1100

    OP-1696 fix simposix c++ compile of pathfollower

commit a86b4b1db46dba569739587ee57b03460381ebab
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 5 18:03:51 2015 +1100

    OP-1696 resolve linux build issue

commit 1d7695f81293534bc17f69b0fcd9de3876867f6a
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 18:10:09 2015 +1100

    OP-1696 Return to Base & Land implemented

    Enabled via FlightModeSettings ReturnToBaseNextCommand = LAND

commit 4e5ca807b18a40ea60c05c1b46f738462595a6b2
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 16:38:06 2015 +1100

    OP-1696 reduce memory footprint by only allocating controllers required for a particular frame type

commit 78e8f559cd25ffaeac68b563e25d1ad357205fd6
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 13:51:05 2015 +1100

    OP-1696 move fsm initialisation to controller implementations

commit 848c78a84e5c7e11b2da953c9d9549b11fc5b1d8
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 13:27:11 2015 +1100

    OP-1696 reduce memory through re-use of pointers to data objects in base class.

commit bc8794601142055942910ba9f938c03c8a3ca547
Merge: 24bc3de 843325d
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 3 22:06:01 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 24bc3de6155a74850b17ca7706f6b592923e027c
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 3 17:56:12 2015 +1100

    OP-1696 update gcs path planner options to align to new modes

commit dc659891882ea0624a6436550425c54b347f4101
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 3 13:51:55 2015 +1100

    OP-1696 pathfollower class renaming and uncrustify

commit af19d114b8e0ff23159bdaca37e5f5bf1c1f8beb
Merge: b07c1fd 04f4cd9
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 21:47:12 2015 +1100

    Merge branch 'rel-15.02' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit b07c1fdd0544a555678bc7a8510cd92861f17e46
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 21:27:27 2015 +1100

    OP-1696 remainder of changes to integrate drive and fly objectives

commit c824c53cf30889a468ecb25ae3d705fa011b23ba
Merge: b89751c 1102243
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 17:06:13 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit b89751caa5d6dc06e1e20391aa4e12b5484056d4
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 17:04:27 2015 +1100

    OP-1696 merge fly and drive pathdesired/action objectives

commit c463132cb7da5cdf9fc5395ae0650b081bc9fb55
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 1 10:25:29 2015 +1100

    OP-1696 merge ground pathfollower and refactored into C++

    commit 6ed504b32f9e502e4f02d50b9e85ba91591417ba
    Merge: bcf245e deafed6
    Author: abeck70 <abeck70@icloud.com>
    Date:   Fri Feb 27 18:12:32 2015 +1100

        Merge branch 'next' into corvuscorax/OP-1642_tank-support

        Conflicts:
        	flight/modules/PathFollower/pathfollower.c
        	shared/uavobjectdefinition/vtolpathfollowersettings.xml

    commit bcf245e08c3348f2e6e5eddceee6d6cc268bdc23
    Author: Corvus Corax <corvuscorax@cybertrench.com>
    Date:   Sat Dec 6 19:45:29 2014 +0100

        OP-1642 added new uavobject to discovery target, too

    commit 6b9e8a7d7dad0739b4ffd2ce7f2f78ed4f597077
    Author: Corvus Corax <corvuscorax@cybertrench.com>
    Date:   Sat Dec 6 17:58:18 2014 +0100

        OP-1642 added very simple path control for ground vehicles

    commit e8d8440e049c06158e7fc542627fac6420abaf65
    Author: Corvus Corax <corvuscorax@cybertrench.com>
    Date:   Sat Dec 6 17:17:09 2014 +0100

        OP-1642 added new settings uavobject for tank path follower

commit 71dd726eb5b52614b417236c22e8a5cc3a487faf
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 27 18:05:10 2015 +1100

    OP-1696 align pathaction to pathdesired

commit 8a88af83be457aafbb63e4f94fad3b1cd54264ca
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Feb 26 08:06:34 2015 +1100

    OP-1696 fixed wing control refactored and compiling

commit fd9850b5e5680f5b422dbc468a94c5ec4b6dd518
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 25 17:47:19 2015 +1100

    OP-1696 Removed vtol stuff from pathfollower.cpp after having replaced it with class impl

commit 9127d8d6d8c345c5bbf8622ce4e5eb76b03d1356
Merge: 4054c73 93fb2d5
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 25 13:09:06 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 4054c73ac98b54188a0a5367c5ca913b7fee6a89
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 24 12:29:28 2015 +1100

    OP-1696 fix compile errors

commit b398db3d4de8cd621a059da1f0dbb00868be0fb9
Merge: 94c795a 3e15cac
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 24 12:06:35 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 94c795af386cf0f1072a88e99a80cb1080bf85e7
Merge: d2115de 57e0a8b
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 23 17:54:33 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

    Conflicts:
    	flight/modules/Sensors/sensors.c
    	make/common-defs.mk

commit d2115dee4e8e9b6a02f7b7700e4715480a56b18f
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 23 14:35:02 2015 +1100

    OP-1696 preliminary checkin for refactor of fly

    TODO:
    1. Finalise and test fly, brake
    2. Remove patfhollower vtol fly
    3. Rename all objects adding vtol in name

commit 95804b1d591d194cce3596187c74cdb2dd0d192f
Merge: 58cebb0 31c1385
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 21 22:10:03 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 58cebb0658deaece1555cfa24e50f1b86fd68c96
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 21 22:09:29 2015 +1100

    OP-1696 refactor neutral thrust and add pos hold implementation

commit 2c3cadfef3de9e092bd66bbabc58ac7847aca7e4
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 20 18:32:11 2015 +1100

    OP-1696 start of refactor of braking

commit 991c2124e834f3432f5e34c5c9f4966cb42a7be3
Merge: 1ab5798 db7d605
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Feb 19 12:17:54 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 1ab579865f04aeaa5899f5065a983de29074e025
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 18 21:29:01 2015 +1100

    OP-1696 Rewrote velocity roam into new C++ OO architecture

    With use of new PID controller for NE.

commit 03edb049f06bf60054dce36a5b8b301a397284c4
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 18 12:19:17 2015 +1100

    OP-1696 Start of refactoring of VelocityRoam implementation in PathFollower

    Also TODOs:
    1. To support pathplanner, remove all references to FlightStatus object and add more fields to PathDesired
    2. Refactor Braking to use C++
    3. Test and optimise Velocity Roam
    4. Add more config options to Landing. For example disable disarming. And add more setting objects.
    5. Consider moving all landing settings to one object.

commit 1f5dba821d4535a9a14f333efdeec1af5afcc281
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 16 22:51:31 2015 +1100

    OP-1696 Landing tuning

commit 5133956c717fba871dd5700333806e298038a3d0
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 16 21:05:06 2015 +1100

    OP-1696 Landing

    Multiple fixes

commit cf22055ecb8eb7304174c730f249a2332ebc599b
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Feb 15 20:52:29 2015 +1100

    OP-1696 Add PIDStatus debug object

commit bc13d732601e7c7cb48db17f1a75b33cc96c0c34
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 14 15:53:16 2015 +1100

    OP-1696 Landing sanity tested

commit 6e913076c1dfcb8b90153e9eca8acf6c9e51f293
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 14 11:16:06 2015 +1100

    OP-1696 completed refactoring

    1. Completed refactoring of NE and Thrust control
    2. Fixed velocity roam

    TODO Tuning and testing

commit 63b62fbd0ac105029e54163b98c3beebc2d73c3a
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 13 08:54:23 2015 +1100

    OP-1696 New PID Controller and refactoring of PID implementation for thrust management

commit 7474331529477d0badd2ef0d609c84c556be9cec
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 10 16:39:44 2015 +1100

    OP-1696 Landing Refactor Thrust PID Loop for landing

commit 904ab2a9241e40c19da6a1508b4ce5243c75d7a3
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 9 22:13:39 2015 +1100

    OP-1696 Uncrustify

commit b3d30e298d8a0343782a29bc91be6677105b325e
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 9 22:05:05 2015 +1100

    OP-1696 Create new OO design

    Added PathFollowerControl which has an Landing implementation.  The landing implementation runs its own set of PIDs.  And interfaces to the FSM for Landing.

commit 1ffd8d67cf7310c1c18c90f3ba18b08221d185a3
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 7 18:04:42 2015 +1100

    OP-1696 Upgrade arm tools

commit 3df01f97021d13694027b92ba0b13cc9fe70d437
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 21:52:38 2015 +1100

    OP-1696 Landing uncrustify and start of refactoring landing to make more use of FSMLand

commit 7a753b65fb69d52c89875b9a182ef5210ee8ef2d
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 15:08:29 2015 +1100

    OP-1696 Landing: fix compilation of all exes

commit 692459874acf2b7ae07aa3ab88a2c78a09f26ee6
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 14:45:06 2015 +1100

    OP-1696 Landing startup fixes

commit 9851f29b9238a969efd0110f01a4fad6bdbc5a5d
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 10:21:52 2015 +1100

    OP-1696 Landing pathfollower CPP refactoring

commit 9b3a54d41f14f07cd0d78426026d12ae9ac4e5b5
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 4 13:02:44 2015 +1100

    OP-1696 Moved to FSMLand class and fixed CPP problems

    1. Additional methods, compile options, and need to have main as a cpp to solve various link issues when using static constructors but to avoid adding unnecessary libs.

commit 7ebe739bfdb4e0f598f4408c1488f01bc033c044
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 3 22:17:08 2015 +1100

    OP-1696 Initial Landing prototype

    Proof of concept. To be refactored into C++

commit 11d6754b9766efb76cc1cd57e9894badaf33ef2d
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 3 22:13:10 2015 +1100

    OP-1696 CPP Enablement

    revo c++
    Enable optional revo C++ support:
    1. Set USE_CXX to enable compliation and linkage of C++ source code
    2. Disables rtti and exceptions
    3. operator new and delete call pios malloc/free
    4. Static constructor invocation supported
2015-03-20 21:42:20 +11:00
Alessio Morale
bcffde5465 OP-1793 - Filter temperature to reduce the noise injected into pressure measuremenent. 2015-03-18 05:29:39 +01:00
Alessio Morale
8eaf7f9918 OP-1793 - Fix enabling condition for baro temp correction 2015-03-18 04:44:02 +01:00
Alessio Morale
a6b43ecef0 OP-1793 - Apply accel bias before scaling 2015-03-18 04:43:30 +01:00
Steve Evans
ba217a3d7d OP-1289 Revise naming of mainQueue to queue
As per review comments

+review OPReview-985
2015-03-17 20:52:08 +00:00
Steve Evans
45005a167f OP-1289 Revise naming of the two channels of data and associated functions
The code now uses a "local" prefix to refer to the telemetry channel
associated with a port on the FC and a "radio" prefix to refer to the
telemetry channel associated with the OPLink/USB.

+review OPReview-985
2015-03-15 23:11:42 +00:00
Steve Evans
12d3bdbe8a OP-1289 add per channel port selection routines
+review OPReview-985
2015-03-15 18:19:19 +00:00
Alessio Morale
4e9d092b03 OP-1776 - Disable radioRx task if radio is not enabled, fix for comments 2015-03-15 16:26:56 +01:00
Alessio Morale
7c9f6c0ed5 OP-1776 - Missing change from review 2015-03-15 14:36:23 +01:00
Steve Evans
5952cfa275 Year is 2015 2015-03-15 00:48:36 +00:00
Steve Evans
6bb732fb02 OP-1289 Need Revo to send two telemetry streams for OSD and GCS 2015-03-14 23:58:18 +00:00
Alessio Morale
bb0e03e387 OP-1776 - Further cleanup/optimization for ProcessTelemetryStream* functions 2015-03-14 14:39:02 +01:00
Alessio Morale
a418ca349f OP-1776 - Fixes from review 2015-03-14 13:46:08 +01:00
abeck70
5c9b6fac29 OP-1769 uncrustify 2015-03-14 12:15:59 +11:00
abeck70
5e7a3c30e1 OP-1769 ground actuator
code review comment addressed to reduce code size
2015-03-14 12:01:30 +11:00
abeck70
dd2733d73f OP-1769 Ground support review comments 2015-03-11 13:49:21 +11:00
Alessio Morale
2a729c1742 OP-1776 - Optimize RX exchanging, changes for radiocombridge 2015-03-11 00:54:02 +01:00
Alessio Morale
5657f4757b OP-1776 - Optimize RX exchanging buffers instead of working a byte at time 2015-03-10 20:35:40 +01:00
abeck70
f053954228 OP-1769 CC compile fixes 2015-03-10 23:07:14 +11:00
abeck70
f9b54fd6c8 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1769-Ground 2015-03-10 22:57:50 +11:00
abeck70
52147333ed OP-1769 Ground Support
1. Receiver.c for ground allows disabled channels for all but yaw and throttle
2. Reciever.c applies a deadband on throttle 0 position
3. Arming understands ground have a 0 throttle position
4. Actuator optimisations in general and fixes for mixing
5. Actuator mixer support for reversible motors
2015-03-10 22:54:51 +11:00
abeck70
dc3610f4e8 OP-1764 uncrustify 2015-03-09 22:31:40 +11:00
abeck70
993481c11e OP-1764 added flight side sanity checks 2015-03-09 21:31:42 +11:00
Erik Gustavsson
ae24359fb4 OP-1739 Always clear ubxLastAck & ubxLastNak when sending UBX message 2015-03-04 19:38:40 +01:00
Erik Gustavsson
0610262cc3 OP-1739 Add (untested) BeiDou support to flight side. 2015-03-01 17:28:43 +01:00
Erik Gustavsson
60736ea82d OP-1739 Fill all UAVO slots with SV data 2015-03-01 16:44:30 +01:00
Erik Gustavsson
76ff576b38 uncrustify 2015-02-28 13:18:24 +01:00
Erik Gustavsson
4ada3d90d9 OP-1739 Add "Default" setting to GNSSMode which skips the GNSS selection
during autoconfig, e.g. for use with UBX6
2015-02-28 13:17:22 +01:00
Erik Gustavsson
d6bc3878d3 OP-1739 Check for NAKs in autoconfig 2015-02-28 12:25:24 +01:00
Erik Gustavsson
1024406fd9 OP-1739 Only include SVs with SNR>0 in "GPSSatellites", making better
use of the 16 slots available.
2015-02-28 11:01:08 +01:00
Erik Gustavsson
baddff3639 OP-1739 Extend SVINFO to 32 SVs. Make UBX parser handle > 256 bytes
payload.
2015-02-28 10:48:26 +01:00
Erik Gustavsson
f5b4e4da37 Remove infinite loop from autoconfig state machine. 2015-02-28 08:09:45 +01:00
Erik Gustavsson
2c403d5323 OP-1739 Add GNSS mode to GPS settings UAVO. 2015-02-28 08:09:45 +01:00
Erik Gustavsson
2029255538 OP-1739 Add CFG_GNSS message to autoconfig, with GPS and GLONASS configurable 2015-02-28 08:09:45 +01:00
Alessio Morale
83ce7c7b9a OP-1750 - cause compiler to trigger an error if a case is missing 2015-02-27 04:01:37 +01:00
Alessio Morale
86111ddefd OP-1750 - don't waste cycles by rescheduling each StateEstimation sub-step 2015-02-26 06:58:57 +01:00
Alessio Morale
362c0c67b7 OP-1750 - Performance optimization for Ins13 lib 2015-02-26 06:41:19 +01:00
Alessio Morale
e2c9111b39 performance optimizations 2015-02-24 22:41:46 +01:00
Alessio Morale
a01cab1e72 OP-1743 - Fix attitude issue on CC3D 2015-02-24 22:39:34 +01:00
Alessio Morale
bcbb1d08e4 Merge branch 'amorale/OP-1743_fix_cc_target' into next 2015-02-24 22:26:10 +01:00
Alessio Morale
81b9d2e379 OP-1743 - Raise manualcontrol stack 2015-02-24 22:03:18 +01:00
Alessio Morale
a30f115567 OP-1743 - Fix uninitialized objects usage 2015-02-24 22:02:56 +01:00
Alessio Morale
84465ae0cb OP-1743 - Fix a very ugly error in attitude(cc/cc3d) 2015-02-24 22:02:25 +01:00
abeck70
c5275fc89b OP-1744 fix crash on revo with ubx config 2015-02-24 22:40:49 +11:00
abeck70
0cd7e20425 Merge branch 'amorale/OP-1685_various_fixes' into test-oneshot 2015-02-23 16:47:12 +11:00
abeck70
57e0a8baf5 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1721
Conflicts:
	flight/modules/Sensors/sensors.c
2015-02-23 14:40:55 +11:00
Alessio Morale
ad42ca7f16 Merge remote-tracking branch 'origin/amorale/OP-1658_sensor_overhaul_next' into next 2015-02-22 16:28:04 +01:00
Alessio Morale
1f5f5747f7 OP-1685 - Fix glitches on output settings save. It was due to wrong check for bankmode changes. 2015-02-22 14:21:23 +01:00
Alessio Morale
60abae8a8b OP-1685 - Rename PIN6 to PIN8 (that's Input6) 2015-02-22 13:25:07 +01:00
Alessio Morale
2a90e86e58 OP-1685 - Try to avoid unneded updates to prevent output glitches 2015-02-22 13:12:00 +01:00
Alessio Morale
0cd545f5e4 OP-1658 - Fix ms5611 units 2015-02-20 05:47:31 +01:00
abeck70
b61a76eeae Merge branch 'next' into abeck/OP-1721 2015-02-19 12:19:28 +11:00
abeck70
bc94fbc2df OP-1670 uncrustify sanitycheck 2015-02-19 08:27:10 +11:00
abeck70
d157b1f553 OP1670:Sanitycheck acro/rate+cruisecontrol 2015-02-19 08:25:07 +11:00
Laurent Lalanne
26ec24f5b1 Merge remote-tracking branch 'origin/laurent/OP-1601_CC3D_Ubx_only' into next 2015-02-18 02:58:19 +01:00
Laurent Lalanne
25c8d43db3 Merge remote-tracking branch 'origin/laurent/OP-1635_Remove_QuadH_config_tab' into next 2015-02-18 02:56:23 +01:00
Alessio Morale
39513f0533 OP-1685 - Rename OneShot to PWMSync to avoid confusion 2015-02-17 23:20:07 +01:00
Erik Gustavsson
65c24e6315 OP-1691 Release SPI bus before sleeping 2015-02-17 18:08:47 +01:00
Alessio Morale
fbdd88c161 OP-1685 - handle servo outputs with PPM_Pin6, sanity check for flexi_ppm 2015-02-15 19:08:49 +01:00
abeck70
53482be09c OP-1721 C++ and ARM tools
Enable revo C++ support:
1. Set USE_CXX to enable compliation and linkage of C++ source code
2. Disables rtti and exceptions
3. operator new and delete call pios malloc/free
4. Static constructor invocation supported
5. Additional methods, compile options, and need to have main as a cpp to solve various link issues when using static constructors but to avoid adding unnecessary libs.
6. Upgrade arm tools
2015-02-13 12:56:04 +11:00
Alessio Morale
1ad040229c OP-1685 - implement PPM on pin 6 2015-02-12 00:00:17 +01:00
Alessio Morale
096a321181 OP-1685 - calls sanitychecks after updates to actuatorsettings, update board sanitycheck rules 2015-02-11 23:59:23 +01:00
Alessio Morale
f3fe45750d OP-1683 - Remove dead code 2015-02-11 22:33:58 +01:00
Alessio Morale
fd299b559a OP-1685 - Add custom sanity check hook to test OneShot availability 2015-02-11 22:33:57 +01:00
Alessio Morale
26893554c0 OP-1704 - Change Hook alarm level to Critical to prevent arming and allow them to be disabled with DisableSanityChecks 2015-02-11 22:33:57 +01:00
Alessio Morale
a4da83a1be OP-1685 - Add OneShot compatible configurations 2015-02-11 22:33:57 +01:00
Alessio Morale
f290d6d89d OP-1685 - Implement OneShot on F1 2015-02-11 22:33:57 +01:00
Laurent Lalanne
6da3c99af2 OP-1635 Remove QuadH in config tab - AirframeType 2015-02-10 22:48:43 +01:00
Laurent Lalanne
cd2ad35ae0 OP-1601 Add command line options for fw_coptercontrol : GCSRECEIVER=YES and DIAG_TASKS=YES 2015-02-08 22:37:24 +01:00
Alessio Morale
4245db7b31 Merge remote-tracking branch 'origin/amorale/OP-1704_sanity_check_hooks' into next 2015-02-08 19:59:57 +01:00
Alessio Morale
3f05aa0e11 OP-1658 - Fix header 2015-02-08 19:02:48 +01:00
Alessio Morale
46521f1c2d Merge remote-tracking branch 'origin/amorale/OP-1683_syncupdate_oneshot' into next 2015-02-08 17:59:59 +01:00
Alessio Morale
240abe4bab Merge remote-tracking branch 'origin/amorale/OP-1682_pwm_input_overflow' into next 2015-02-08 17:58:20 +01:00
Erik Gustavsson
dd5abeca9b OP-1691 Review fix: ensure rounding for vTaskDelay 2015-02-08 11:08:10 +01:00
Laurent Lalanne
f92eba93ef OP-1601 Ubx only, more efficient to save Ram on CC/CC3D 2015-02-07 17:02:59 +01:00
Laurent Lalanne
f378ca6da7 Merge branch 'laurent/CC3D_Nmea_Gps_14.10' into laurent/CC3D_next_Ubx_only 2015-02-07 14:04:58 +01:00
Laurent Lalanne
5c08f013f1 Allow multiples talkers IDs, define some debug messages and typos 2015-02-06 19:50:09 +01:00
Laurent Lalanne
58e70b2e3a CC3D special firmware : Nmea GPS 2015-02-06 16:59:41 +01:00
Alessio Morale
108c74da3e OP-1704 - Reenable an hook if it is reattached 2015-02-05 15:42:58 +01:00
Alessio Morale
aa55b1523d uncrustify 2015-02-05 01:42:32 +01:00
Alessio Morale
a8e89dffcd OP-1704 - Add support for custom sanity check hooks 2015-02-05 01:39:58 +01:00
Alessio Morale
85335d62a9 OP-1658 - Fix some headers, remove unused files 2015-02-03 00:33:15 +01:00
Alessio Morale
857cead7c7 OP-1658 - Fixes for other targets (OSD and GPS) 2015-02-03 00:00:06 +01:00
Alessio Morale
fe59057476 OP-1658 - Applying sensor framework to RevoProto 2015-02-03 00:00:06 +01:00
Alessio Morale
3d49362345 OP-1658 - Applying sensor framework to revolution 2015-02-03 00:00:06 +01:00
Alessio Morale
d0ca48e1c4 OP-1658 - Various fixes for MPU6000 and HMC5x83 2015-02-03 00:00:06 +01:00
Alessio Morale
0cf5d163d1 OP-1658 - Fixes for CC3D and its attitude module 2015-02-03 00:00:06 +01:00
Alessio Morale
4f6c7dcb00 OP-1658 - Fixes to other (old and deprecated) sensors 2015-02-03 00:00:05 +01:00
Alessio Morale
4b01d0d2ea OP-1658 - fix temp interleaving for MS5611 2015-02-03 00:00:05 +01:00