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

5274 Commits

Author SHA1 Message Date
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
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
6904996aba OP-1658 - add performance counters 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
9d36ac4b9c OP-1658 - Apply to Revolution target 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
Laurent Lalanne
b9bfcd18d2 OP-1686 Slave Oplink may want to receive PPM data in PPM_Only mode 2015-02-02 21:25:38 +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
1d08083375 OP-1682 - OneShot125: Change timer clock to 2MHz (that's available as exact value for current targets), raise timer period to prevent glitches 2015-01-31 14:40:40 +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
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
Corvus Corax
7e421b99a4 uncrustificationization 2015-01-25 15:48:45 +01:00
Alessio Morale
5f034dfd3e OP-1683 - Missing uncrustification for f1 stubs. 2015-01-24 15:41:04 +01:00
Alessio Morale
dcc9a5b7dc OP-1683 - Actuator uses "standard" 1000-2000 range and remap it to 125-250 just before sending to servo to prevent any impact on gcs and other blocks 2015-01-24 13:37:00 +01:00
Alessio Morale
2a10d9d481 OP-1683 - fixes to PIOS_Servo, added code to prevent overflows 2015-01-24 13:35:41 +01:00
Alessio Morale
ec69941c30 OP-1683 - Fix compilation for other targets 2015-01-24 13:08:56 +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
73c6ae2055 OP-1683 - Add revolution and other f4 targets support 2015-01-23 23:56:39 +01:00
Alessio Morale
47e1312982 OP-1683 - Implement oneshot/oneshot125 mode to actuator module 2015-01-23 23:51:53 +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
Laurent Lalanne
68f9763e73 OP-1652 Typo FlexiIOPin 2015-01-21 14:32:21 +01:00
Laurent Lalanne
bc178b8a95 OP-1652 WS281x pins : Update flight side for revo 2015-01-21 14:12:36 +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
abeck70
2b6d79467c gpsassist:code review comments
1. Defines
2. Name of adjustments changed to vtolSelfTuningStats
2015-01-09 07:51:37 +11:00
abeck70
b1c94e83d0 gpsassist: One commit new branch
Collapsed into one branch for a new code review.  Some unnecssary committed files removed.
2015-01-08 13:20:47 +11: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
Fredrik Larsson
4f7fc1bac7 Merge remote-tracking branch 'origin/corvuscorax/OP-1599_positionvario-reworks' into next 2014-12-14 23:45:57 +11: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
Fredrik Larsson
a45e28afa9 Merge remote-tracking branch 'origin/rel-14.10' into next 2014-11-22 03:39:30 +11:00
Mathieu Rondonneau
b0cc9ce021 OP-1625: DSM2/DSMX autodetection of channel resolution. 2014-11-20 19:58:34 -08:00
Fredrik Larsson
141cf194f1 Signed cats 2014-11-21 11:53:47 +11:00
Fredrik Larsson
8b3ae66932 New cat files after bump 2014-11-21 11:48:17 +11:00
Fredrik Larsson
9480c6efe6 Bump driver version 2014-11-21 11:47:36 +11:00
Fredrik Larsson
17c0102d34 Remove old cat files 2014-11-21 11:47:00 +11:00
Mathieu Rondonneau
1c6ac29218 OP-1625: DSM2/DSMX autodetection of channel resolution. 2014-11-18 19:35:57 -08:00
Laurent Lalanne
4fdcceda65 Merge branch 'laurent/OP-1601_CC_Ram' into next 2014-11-17 03:30:45 +01:00
Laurent Lalanne
357f091f0f Merge branch 'laurent/OP-1601_CC_Ram' into rel-14.10 2014-11-17 03:29:47 +01: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
Laurent Lalanne
8d08223e8a OP-1601 Don't use new PVT messages with CC/CC3D 2014-11-15 22:39:17 +01:00
Laurent Lalanne
9e0ede3386 OP-1601 barosensor.c and airspeedstate.c removed from Makefile 2014-11-15 22:17:08 +01: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
5f352f54a3 OP-1599 updated defaults for position roam mode settings, do not low pass filter throttle 2014-11-10 19:06:27 +01:00
Corvus Corax
8fe21ed297 OP-1599 removed autotune from all flight code 2014-11-08 16:17:39 +01:00
Corvus Corax
c0e66a8acf OP-1599 renamed flightmodes 2014-11-08 16:01:59 +01:00
Corvus Corax
3e5c5bd140 OP-1599 added new mode "courselock" in handlers where missing 2014-11-08 14:04:00 +01:00
Corvus Corax
db0ba763bf OP-1599 add low pass filter to control input in vario mode to possibly reduce rubber-band effect - needs test and tuning 2014-11-08 13:32:40 +01:00
Corvus Corax
7d2ca3d92f OP-1599 added course lock mode, renamed other position vario modes 2014-11-08 12:59:55 +01:00
Corvus Corax
c21d3d8a67 uncrustification! 2014-11-08 12:59:16 +01:00
Fredrik Larsson
e7d183b5e6 Merge branch 'rel-14.10' into next 2014-11-07 14:58:41 +11:00
Alessio Morale
6a2666381f OP-1588 - Improve manualcontrol assumptions to be easier to mantain 2014-11-01 17:54:54 +01:00
Alessio Morale
e04825e7b7 OP-1588 - Remove *relay flight modes 2014-11-01 16:11:11 +01:00
Alessio Morale
b3b2d1ef02 OP-1584 - Remove some unused big UBX messages when running with GPS_MINIMAL 2014-11-01 16:00:03 +01:00
Alessio Morale
71d30a7521 OP-1584 - reduce telemetry queue size 2014-10-31 20:39:52 +01:00
Alessio Morale
c0ca20f661 OP-1584 - Remove auxmagsupport from cc3d for now as it is unused, remove other stuffs from ubx when GPS_MINIMAL is selected 2014-10-31 19:56:38 +01:00
Fredrik Larsson
0ea56989e7 Merge branch 'rel-14.10' into next 2014-10-31 10:12:50 +11:00
Fredrik Larsson
2dc777304e Merge remote-tracking branch 'origin/abeck/OP_1503v3-yaffs' into next 2014-10-31 10:09:39 +11:00
Corvus Corax
d0417dda84 OP-1573 fix armhandler to not timeout-disarm when flying autonomously 2014-10-29 21:12:57 +01: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
7c1265ee30 OP-1548 - Change Fusion algorithm names to make clear their pourpose 2014-10-21 00:49:00 +02: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