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
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
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
Steve Evans
7f93340f7f
OP-1849 Initial commit
2015-04-24 22:46:07 +01: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
061ef1e377
Merge remote-tracking branch 'origin/amorale/OP-1828_optional_analog_inputs' into next
2015-04-20 12:08:34 +02: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
Mathieu Rondonneau
9cb0926009
OP-1804: Add realloc.
2015-04-16 22:52:09 -07: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
Steve Evans
73aeb5d653
OP-1803 Report link quality for OPLink
2015-04-04 22:02:54 +01: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
Steve Evans
f9f0e1657c
OP-1803 Add good frame count option for debug
2015-04-03 15:29:24 +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
Alessio Morale
006fdf9072
Uncrustify
2015-03-22 20:26:36 +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
2a45f58fea
Merge remote-tracking branch 'origin/amorale/OP-1793_sensor_fixes' into next
2015-03-20 22:43:33 +01:00
Alessio Morale
ddd72324c3
OP-1793 - Use a constant for running average smoothing factor
2015-03-20 22:11:29 +01: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
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
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
Erik Gustavsson
65c24e6315
OP-1691 Release SPI bus before sleeping
2015-02-17 18:08:47 +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
f3fe45750d
OP-1683 - Remove dead code
2015-02-11 22:33:58 +01:00
Alessio Morale
f290d6d89d
OP-1685 - Implement OneShot on F1
2015-02-11 22:33: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
Alessio Morale
aa55b1523d
uncrustify
2015-02-05 01:42:32 +01:00
Alessio Morale
d0ca48e1c4
OP-1658 - Various fixes for MPU6000 and HMC5x83
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
Alessio Morale
adbcdecb41
OP-1365 - adds quick and dirty decays to max and min values
2015-02-03 00:00:05 +01:00
Alessio Morale
bdd9ac7c60
OP-1658 - Support reset for main sensors
2015-02-03 00:00:05 +01:00
Alessio Morale
73a7dc00d4
OP-1658 - MS5611 sensor framework model support
2015-02-03 00:00:05 +01:00
Alessio Morale
ba0e486004
OP-1658 - Add support for barometer in sensor module
2015-02-03 00:00:05 +01:00
Alessio Morale
fc125540b7
OP-1658 - various fixes
...
Conflicts:
flight/pios/common/pios_mpu9250.c
2015-02-03 00:00:05 +01:00
Alessio Morale
621c1e8679
OP-1658 - MPU6000 & HMC5x83 make driver struct const
2015-02-03 00:00:05 +01:00
Alessio Morale
cf791db71e
OP-1658 - Implementation of Sensor Module using PiOS Sensors Framework
2015-02-03 00:00:05 +01:00
Alessio Morale
84f577029e
OP-1658 - HMC5x83 sensor device model implementation
2015-02-03 00:00:05 +01:00
Alessio Morale
6341fa7eca
OP-1658 - MPU6000 sensor device model implementation
2015-02-03 00:00:05 +01:00
Alessio Morale
4d8b36adad
OP-1658 - Remove sensors includes from pios.h to prevent cross dependencies
2015-02-03 00:00:05 +01:00
Alessio Morale
49b8b1f93e
OP-1658 - Add PIOS_SENSORS and Sensor framework API
2015-02-03 00:00:05 +01:00
Karl Knutsson
d161ebbc74
OP-1522 address review comments
2015-02-02 21:25:38 +01:00
Karl Knutsson
137c183ec2
OP-1522 Remove unused channel set cfg
...
Remove unused channel set configuration option.
With the new channel allocation the old channel set
configuration isn't needed.
2015-02-02 21:25:38 +01:00
Karl Knutsson
a3715598c7
OP-1522 New channel allocation
...
Generate a pseudo random list of channels from hmac_sha1 with the
coordid as key.
Enforce channel spacing based on the frequency deviation derived
from the configured data rate.
2015-02-02 21:25:38 +01:00
Karl Knutsson
9bf18490b1
OP-1522: Channel timeout logic
...
Use real time rather than missed pickets when deciding if we are
disconneted. Makes the link less sensitive at higher rates since
higher rates means more chances to get a packet through within the
given time.
2015-02-02 21:25:38 +01:00
Karl Knutsson
b0491da115
OP-1576: Remove unused tx_resent counter
...
Remove unused tx_resent counter and replace it with
rx_failure in link quality calculations.
2015-02-02 21:25:38 +01:00
Karl Knutsson
52c1080ffe
OP-1522 Robustness of OPLink radio
...
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2015-02-02 21:25:38 +01:00
Erik Gustavsson
966ef5ce75
OP-1680 Increase the range and resolution of OPLink PPM values
...
Encode 511 steps plus a single "invalid" value, rather than 256 steps
plus a dedicated valid flag bit. This gives a range of 990 - 2010 us in
steps of 2 us.
2015-02-02 21:25:37 +01:00
Alessio Morale
86a1ca2bcf
OP-1683 - Pulse length must be zeroed at each cycle
2015-02-02 19:58:04 +01:00
Alessio Morale
752f3447d2
OP-1683 - Implement an update skip strategy in single pulse mode when pulse period is higher than the update cycle
2015-02-02 02:58:22 +01:00
Alessio Morale
a5f601593d
OP-1683 - Put again in place safe limits on pulse width
2015-01-31 15:04:02 +01:00
Alessio Morale
025e3596fa
OP-1682 - Fixes from review
2015-01-31 12:55:34 +01:00
Alessio Morale
86571a804d
OP-1683 - Switch to the same schema used by cleanflight.
...
Running in repetitive mode, clearing CCRx after manually triggering update event.
2015-01-30 21:22:14 +01:00
Alessio Morale
632051c0ac
OP-1683 - Increase resolution for OneShot125 running timer at 8MHz, setup automatically rates for OneShot
2015-01-30 21:22:00 +01:00
Erik Gustavsson
1b94f178e8
OP-1691 Remove busy-wait and add yeild points in rfm22_init()
2015-01-28 20:55:36 +01:00
Alessio Morale
1ad4a01b75
OP-1682 - Fixes for review
2015-01-25 21:51:37 +01:00
Alessio Morale
7955f63c98
OP-1683 - Clenaup, trigger update in setfailsafe, Fix standard pwm operation
2015-01-25 21:25:14 +01:00
Alessio Morale
5f034dfd3e
OP-1683 - Missing uncrustification for f1 stubs.
2015-01-24 15:41:04 +01:00
Alessio Morale
2a10d9d481
OP-1683 - fixes to PIOS_Servo, added code to prevent overflows
2015-01-24 13:35:41 +01:00
Laurent Lalanne
7a24fc62a6
Merge branch 'laurent/OP-1674_GUI_display_oplm_frequency' into next
2015-01-24 01:28:28 +01:00
Laurent Lalanne
5d4b1df85c
OP-1652 Fix comment
2015-01-24 00:56:31 +01:00
Alessio Morale
411416d2a1
OP-1683 - Fix compilation for CC (not yet supported)
2015-01-24 00:18:20 +01:00
Alessio Morale
1f95332ff4
OP-1683 - Implement servo synchronous update mode for F4
2015-01-23 23:50:51 +01:00
Laurent Lalanne
c506fc93d6
OP-1674 Revert changes from previous commit in flight side, keep comments changes
2015-01-22 19:49:06 +01:00
Alessio Morale
caa51253db
OP-1682 - Workaround overflow issue with pwm receiver inputs on shared timers.
2015-01-19 21:55:40 +01:00
Laurent Lalanne
4c27a78072
OP-1674 Allow channel 250
2015-01-12 12:57:01 +01:00
Fredrik Arvidsson
c8c3a46735
Uncrustify
2015-01-09 21:49:03 +01:00
Mathieu Rondonneau
acc124cacb
OP-1625: DSM: more robust detection of resolution
...
This allows switching back and forth between 10 and 11 bit
code which prevents getting locked up in one or the other.
It also avoids a situation that can cause an infinite
recursion.
This changeset is cherry-picked from TauLabs (b7eaf87502085666d9738ae16c66170f187f3981).
Thanks to Taulabs for improving OpenPilot's DSM autodetect feature.
2014-12-30 21:29:06 -08:00
Mathieu Rondonneau
6844f8351d
run uncrustify.
2014-12-04 20:17:29 -08:00
Mathieu Rondonneau
4b00f6039d
OP-1626: Allow binding to happen within satellite binding window.
...
- This is working for satellite 22ms (genuines and clones).
- This change only affect revo.
2014-11-29 19:59:18 -08:00
Alessio Morale
99d73426b8
Uncrustify
2014-11-27 12:05:59 +01:00
Fredrik Larsson
1687ef7e8f
Merge remote-tracking branch 'origin/rel-14.10' into next
2014-11-23 12:15:32 +11:00
Fredrik Larsson
cd94410468
DSM Protocol removed flight firmware
2014-11-22 08:32:00 +11:00
Fredrik Larsson
1942d2ee30
Remove protocol enum
2014-11-22 07:44:55 +11:00
Mathieu Rondonneau
b0cc9ce021
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-20 19:58:34 -08:00
Mathieu Rondonneau
1c6ac29218
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-18 19:35:57 -08:00
Werner Backes
4b68deb878
Disable the "preamble invalid" interrupt for the RFM22b module. It causes
...
high CPU load and isn't used anyway.
2014-11-16 20:16:02 +11:00
Werner Backes
d9a3fac502
Disable the "preamble invalid" interrupt for the RFM22b module. It causes
...
high CPU load and isn't used anyway.
2014-11-15 11:37:06 +01:00
Corvus Corax
c21d3d8a67
uncrustification!
2014-11-08 12:59:16 +01:00
Fredrik Larsson
2dc777304e
Merge remote-tracking branch 'origin/abeck/OP_1503v3-yaffs' into next
2014-10-31 10:09:39 +11:00
Alex Beck
e2b38d0d7d
Yaffs or dosfs now conditional linkage for simposix yaffs testing
2014-10-28 08:48:38 +11:00
Alex Beck
b4e3fe137b
Removed unrequired signals from handler
2014-10-25 20:01:32 +11:00
Alex Beck
c6aa4ed1d6
Added signal handler that on ctrl-c will unmount the yaffs device(s) and save to the em-norsim file
2014-10-25 19:55:56 +11:00
abeck70
942945850b
Merge branch 'next' into abeck/OP_1503v3-yaffs
2014-10-23 21:25:54 +11:00
a*morale
d1a229a9cb
OP-1553 OPLink does not work as non coordinator
...
Revert "OP-1535 - SPI:Use pio for small blocks"
This reverts commit 823a1afad2
.
2014-10-20 21:46:14 +02:00
Karl Knutsson
5ab924c07e
Revert "OP-1522 Robustness of OPLink radio"
...
This reverts commit 00d9c66867
.
2014-10-16 08:23:10 +02:00
Karl Knutsson
5ef8d3803d
Revert "OP-1530 Use rfm22b_dev->num_channels"
...
This reverts commit 4e365f6dff
.
2014-10-16 08:23:10 +02:00
Karl Knutsson
b69e222456
Revert "OP-1532 fix non-ppm mode"
...
This reverts commit 9fd4fb26b9
.
2014-10-16 08:23:10 +02:00
Alessio Morale
a9f35e2afe
Merge branch 'amorale/OP-1535_mpu_overhaul' into next
2014-10-16 00:51:02 +02:00
abeck70
de68e0179f
First round review comments
2014-10-14 17:17:59 +11:00
Alessio Morale
823a1afad2
OP-1535 - SPI:Use pio for small blocks
2014-10-11 09:57:25 +02:00
Stefan Karlsson
3285519380
OP-1536 Send only the available bytes, not the entire buffer, to the USB CDC RX callback function
2014-10-10 23:51:04 +02:00
Alessio Morale
4a8cfe3f86
OP-1535 - Refactor MPU6k driver to allow direct and fifo access based on configuration
2014-10-10 22:33:50 +02:00
Alessio Morale
9350bd65d9
OP-1535 - change sensor rate to 1KHz with software downsample to 500Hz
...
Allow per board SPI prescaler settings
2014-10-10 22:33:49 +02:00
abeck70
948d6546af
yaffs simposix ready for review
...
All yaffs changes for library inclusion, arm compilation, and simposix integration.
2014-10-10 13:21:06 +11:00
Karl Knutsson
9fd4fb26b9
OP-1532 fix non-ppm mode
...
Always send packets from the coordinator.
Previously the coordinator only always sent packets
on channel 0. This scheme doesn't work with
with the change to use 32 channel.
2014-10-08 20:59:51 +02:00
Fredrik Larsson
cb6e9fda6d
Merge remote-tracking branch 'origin/havyan/oplink-0' into next
2014-10-08 08:02:48 +11:00
Karl Knutsson
4e365f6dff
OP-1530 Use rfm22b_dev->num_channels
...
Use the number of allocated channel from the num_channels field
in the pios_rfm22b_dev struct rather than from the maximum number
of possible of channels given the configured speed.
2014-10-07 22:50:52 +02:00
Karl Knutsson
00d9c66867
OP-1522 Robustness of OPLink radio
...
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2014-10-03 22:20:11 +02:00
Karl Knutsson
1c6e9b3cc4
OP-1510 don't hard code tx_power to 100mW
2014-10-03 22:20:11 +02:00
Alessio Morale
8e2e534c60
Uncrustify/clean commented code
2014-10-03 11:41:26 +02:00
Alessio Morale
e553014596
Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next
2014-10-03 00:37:55 +02:00
Alessio Morale
9cfd55d006
Merge branch 'amorale/OP-1507_gps_module_cpu_optimization' into next
2014-10-03 00:37:39 +02:00
Alessio Morale
ae9f30c729
OP-1477 - Fix mag exti config, set correct rate, set correct SPI speed for hmc5x83. Note: GPIO is disabled as it seems there is some issues with Exti on PB0
2014-10-01 02:07:46 +02:00
Alessio Morale
0ffb99f228
OP-1477 - Fix issue with quick request to DDC port, change baud rate to 57600, fix sys rate, optimize uart tx
2014-10-01 02:06:03 +02:00
Alessio Morale
9e0596c2c5
Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
...
Conflicts:
Makefile
flight/targets/boards/discoveryf4bare/firmware/Makefile
flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Alessio Morale
93cf6b457f
OP-1507 - optimize com fifo usage when RX callback receives a single byte
2014-09-27 00:20:15 +02:00
Alessio Morale
7e789ccc69
OP-1379 - Clear output pin at the end of dma cycle
2014-09-25 00:59:39 +02:00
Alessio Morale
c772442723
OP-1477 - remove debug infos and add send some relevant informations using SYS message (firmware and board revision/info)
2014-09-24 01:06:41 +02:00
Alessio Morale
3c6a8e0395
OP-1379 - Prevent loosing any update to background notification and notifications with priority higher than current
2014-09-21 23:32:52 +02:00
Alessio Morale
7e73c59e90
OP-1476 - Fixes for Bootloader
...
- Allocate 10KBytes for bootloader;
- Replace pios_com_msg with pios_com for ssp support
- Change Speed to 9600 for higher reliability
2014-09-16 22:40:53 +02:00
Alessio Morale
f2a0daac5c
OP-1477 - Add pios_ubx_ddc driver to handle i2c comms with UBlox GPS
2014-09-16 22:40:52 +02:00
Alessio Morale
81ae43ac40
OP-1275 - fix Watchdog
2014-09-16 22:40:50 +02:00
Alessio Morale
984a7a675c
OP-1275 - add ChangeBaud to PIOS_COM_MSG
2014-09-16 00:42:51 +02:00
Alessio Morale
20273e77aa
OP-1275 - Fix CPU usage due to uncleared irq flags
2014-09-16 00:42:51 +02:00
Alessio Morale
94c39caa50
OP-1275 - Fix PIOS_COM to be used with no PIOS_INCLUDE_FREERTOS defined
2014-09-16 00:42:51 +02:00
Alessio Morale
0c7f4905da
OP-1275 - Fix PiOS_EXTI
2014-09-16 00:42:51 +02:00
Alessio Morale
de4180f990
OP-1275 - Reenable usart after init in ChangeBaud
2014-09-16 00:42:51 +02:00
Alessio Morale
212170bcb9
OP-1275 Fix pios_delay DiffuS
2014-09-16 00:42:51 +02:00
Alessio Morale
3c2300ffda
OP-1275 Change several parameters const
2014-09-16 00:42:50 +02:00
Alessio Morale
0682e60053
OP-1275 Add a memory barrier before remapping the vector table
2014-09-16 00:42:50 +02:00
Alessio Morale
baad216810
OP-1275 uncrustification
2014-09-16 00:42:50 +02:00
Alessio Morale
55d52ceab0
OP-1275 Working initial PIOS_I2C implementation
2014-09-16 00:42:50 +02:00
Alessio Morale
cd7c76aa13
OP-1275 move implementation specific enums out of common pios_i2c_priv.h
2014-09-16 00:42:50 +02:00
Alessio Morale
5986e72a29
OP-1275 Add SPI Implementation. DMA block transfer needs to be fixed with handling for LDMA_TX and LDMA_RX
2014-09-16 00:42:49 +02:00
Alessio Morale
2ca1adafe5
OP-1275 support HSI oscillator, fix gpio, usart and sys (vector remapping not working yet)
2014-09-16 00:42:49 +02:00
Alessio Morale
7a3bc518c2
OP-1275 fixes unused vars in SPL
2014-09-16 00:42:49 +02:00
Alessio Morale
bb7d4aef04
OP-1275 fixes for ld scripts, fix for pios_delay timer setup. pios_sys
2014-09-16 00:42:49 +02:00
Alessio Morale
4d1e8cf5a7
OP-1275 F0 support: fix make scripts, bootloader size, linker scripts, add other missing pios drivers.
2014-09-16 00:42:49 +02:00
Alessio Morale
5ab9806279
OP-1275 add Stack_Change support
2014-09-16 00:42:48 +02:00
Alessio Morale
5a60c254ed
OP-1275 copy relevant F1 PiOS drivers (yet unmodified)
2014-09-16 00:42:48 +02:00
Alessio Morale
7eca9f80e3
OP-1275 Initial commit for f0 support: add CMSIS, Std Peripheral drivers
2014-09-16 00:42:48 +02:00
Alessio Morale
b4c1a856c7
OP-1274 Implement 4 bytes aligment for standard malloc (while keeping 8byte alignment for RTOS Stuctures) as done for M3
2014-09-16 00:42:48 +02:00
Fredrik Larrson
d91db0af6f
Revert "Merge remote-tracking branch 'origin/proff/OP-1373_DSMFixes' into next"
...
This reverts commit a39e393274
, reversing
changes made to ebfdaf28b5
.
2014-09-08 02:31:02 +10:00
Fredrik Larrson
a39e393274
Merge remote-tracking branch 'origin/proff/OP-1373_DSMFixes' into next
...
Conflicts:
shared/uavobjectdefinition/hwsettings.xml
2014-09-08 01:54:59 +10:00
Fredrik Larrson
ebfdaf28b5
Merge remote-tracking branch 'origin/havyan/OP-1473_sbus_eof' into next
2014-09-08 01:35:39 +10:00
Alessio Morale
cf9329b8ee
OP-1440 - Change timing slightly to support also WS2812B
2014-09-06 12:12:11 +02:00
Alessio Morale
233dec6d8d
OP-1379 - Various fixes and additions
...
- Support blocks of led for notification (that is a certain number of leds between a min and a max index);
- Fix an issue with bogus colours on fast updates at LED N°0.
- Add NOTIFY_SEQUENCE_NULL to skip handling a specific alarm status;
- Adjust sequences and add Config and Receiver Alarms;
- fix issue with Alarm trigger/repetition;
- Enables Notify module only if a WS281x output is enabled.
- Add some documentation for sequence/alarm definitions (sequences.h)
- Make sequences more coherent. All GPS related info are now shown in green.
- Revert to original blinking rate for onboard led
- add Notify on DiscoveryF4Bare target
2014-09-06 12:11:53 +02:00
Karl Knutsson
ec0d44e1b0
OP-1473 Fix EOF handling for R7008SB
2014-09-04 18:15:36 +02:00
Corvus Corax
b64326208e
Merge branch 'next' into corvuscorax/OP-1456_struct_to_array_improvement
2014-08-31 18:43:48 +02:00
Corvus Corax
6faf1a73ac
OP-1456 get rid of cast_struct_to_array because it is error prone!
2014-08-24 00:16:34 +02:00
Stefan Karlsson
3d8d803c33
OP-922 Fix missing ppm_id to ppm_out_id rename
2014-08-16 16:58:16 +02:00
Stefan Karlsson
34983a2d28
OP-922 Fix typo in pios_tim.c
2014-08-16 16:58:15 +02:00
Stefan Karlsson
22e981ea87
OP-922 Mark PIOS_DEBUG_Panic with attribute noreturn
2014-08-16 16:57:50 +02:00
Alessio Morale
30df5de332
uncrustify
2014-08-13 15:54:52 +02:00
Alessio Morale
cefc182a5e
Merge remote-tracking branch 'origin/amorale/OP-1405_25qXXX_support' into next
2014-08-13 15:25:16 +02:00
Alessio Morale
1067ea59d1
OP-1379 - Split pios_ws2811.h in config and public api header
2014-08-12 22:19:30 +02:00
Alessio Morale
1f74977472
OP-1379 add base types for colour, Initial ext rgb led api definition
2014-08-12 09:44:44 +02:00
Corvus Corax
c5fae5ee84
Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation
2014-08-09 10:43:48 +02:00
Gasté Olivier
dfb21482f4
DSM protocol improvement
...
added item in DSM protocol in GCS
2014-08-08 13:14:39 +02:00
Alessio Morale
a6502518be
OP-1405 - Add support for 25qxxx series of flash memories
2014-08-02 23:05:36 +02:00
Alessio Morale
6a3cb7b808
OP-1403 - Add support for multiple hmc* devices
2014-08-02 20:48:41 +02:00
Alessio Morale
57a43a5587
OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one
2014-08-02 20:48:34 +02:00
Alessio Morale
2a8429320d
OP-1403 - Support HMC5983 temperature sensor/compensation
2014-08-02 20:48:24 +02:00
Alessio Morale
3c1b689224
OP-1403 - Add generic I2C/SPI HMC5x83 mag driver
2014-08-02 20:48:16 +02:00
Corvus Corax
5edb2dbae3
Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation
2014-07-26 17:01:03 +02:00
Andres
d6a93cccaf
OP-1317 added M_2PI_F and M_2PI_D constants for 2*pi in pios_math.h
2014-07-23 08:03:12 +02:00
Alessio Morale
6c38eda192
OP-1395 - Reset log num when changing flight num. fix flight num update logic
2014-07-09 23:05:38 +02:00
Alessio Morale
61d26d7fd8
op-1395 - automatically increment flight number after disabling log.
2014-07-09 08:39:32 +02:00
Alessio Morale
03d03cfb06
OP-1395 add a vTaskDelay when waiting for dma transfer to complete when using FreeRTOS.
2014-07-08 02:54:17 +02:00
Alessio Morale
711c3609b6
OP-1395 - Add support for Fast read, explicitly set SPI clock speed to maximum allowed by all parts used
2014-07-08 02:53:25 +02:00
Alessio Morale
55b325966a
OP-1395 - Pack several objects on a single Debug Log "slot", after ten consecutive failures (log full) gives up trying to save to prevent wasting time. Use PIOS_Delay for timestamp
2014-07-08 02:47:09 +02:00
Alessio Morale
c6a773363f
Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
...
Conflicts:
flight/pios/common/pios_adxl345.c
make/apps-defs.mk
2014-06-22 19:31:03 +02:00
Alessio Morale
a03ad41bab
Merge branch 'amorale/OP-1365_pios_instrumentation' into next
...
Conflicts:
flight/modules/Attitude/attitude.c
2014-06-22 19:13:46 +02:00
Alessio Morale
263fd64ab5
Merge branch 'amorale/OP-1274_freertos_v8.0.0' into next
2014-06-22 16:06:21 +02:00
Alessio Morale
fa24d21237
OP-1365 fix comments
2014-06-18 02:01:16 +02:00
Alessio Morale
eb5deb3eca
OP-1274 Remove unneeded cast from task name in xTaskCreate call
2014-06-18 01:47:43 +02:00
Alessio Morale
61f71add4c
OP-943 add missing pios_mem.c from previous commit
2014-06-11 23:54:28 +02:00
Alessio Morale
b3b90f1f66
OP-943 inline pios_mem function have issues with simposix.
2014-06-11 22:15:40 +02:00
Alessio Morale
6226aec2a7
OP-943 uses pios_mem API for heap allocation
2014-06-11 22:15:40 +02:00
Alessio Morale
50bef2dc12
OP-943 change make scripts to defines automatically PIOS_TARGET_PROVIDES_FAST_HEAP when available
2014-06-11 22:15:40 +02:00
Alessio Morale
d8f08a7916
OP-943 Add Malloc for "FastHeap" (ccsram)
...
- Use a separate mallocs for thread stack and RTOS structures heap
- Add a pios_mem API to be able to use fast ram (CCM) when available
2014-06-11 22:15:30 +02:00
Alessio Morale
622519b7c2
OP-1365 Flight code instrumentation API: add documentation to pios_instrumentation_helper, uncrustification
2014-06-10 22:13:20 +02:00
Alessio Morale
8ba5741f99
OP-1365 Flight code instrumentation API: Add some helper macros to simplify the addition of instrumentation code to a module.
...
Note: Look at next commit for an example use case.
2014-06-10 21:34:33 +02:00
Alessio Morale
698d132f9c
OP-1365 Flight code instrumentation API: Changed API to use handlers (opaque pointers) to counter struct instead of an index, fix Search function, create does check if coutner exists and return existing handler
2014-06-10 21:24:28 +02:00
Alessio Morale
07d2e27276
OP-1274: Update to FreeRTOS 8.0.1
2014-06-10 19:42:11 +02:00
Alessio Morale
ee8ffed465
OP-1274: Force 8 bytes alignment for RTOS structures while using 4 bytes alignment for the remaining memory allocation operations to save RAM
2014-06-10 19:10:37 +02:00
Alessio Morale
92b48b09ff
OP-1227 Fix high CPU usage: remove oversample buffer calculation in several part of pios_adc all over the code.
2014-06-09 19:28:22 +02:00
Alessio Morale
7acb0ad385
OP-1227 Fix high CPU usage: Apply missing parenthesis to prevent a fdiv for temp calculatin
2014-06-08 22:02:10 +02:00
Alessio Morale
a9f1d55fea
OP-1227 Fix high CPU usage: Optimize Memory usage in ADC driver.
...
- performs undersampling in two steps operating with a half buffer at time;
- Skip costly undersampling for Temperature channel;
- some optimizations to the downsample loops;
- apply compiler speed optimization to PIOS_ADC_downsample_data()
2014-06-08 22:01:05 +02:00
Alessio Morale
a0d68c6afb
OP-1227 Fix high CPU usage: Reduce Accel rate to 1600Hz, optimize sample reading, explicitly set bus speed
...
Note: Counter 0xA3450001 is the time it takes to transfer the requested number of samples
2014-06-08 21:33:18 +02:00
Alessio Morale
197d381937
OP-1365 Flight code instrumentation API: Add helper function to track mean period between its calls
2014-06-07 18:11:34 +02:00